A father-of-four who threatened to burn down every mosque in Newcastle has been jailed for 20 months.