Authorities say 23-year-old who attacked church 'obsessed' with killing children and 'idolised' US school shooters.