A man has appeared in court over a “bomb hoax” in Hemlington that saw dozens of residents evacuated from their homes.