Chabad of the Beaches synagogue had one door of the ark broken off and prayer shawls strewn on the ground; police detain 23-year-old homeless man