Hitler-inspired boy planned terror attack at mosque, and pretended to convert to Islam to gain access