How did a small contingent of Hasidic families in upstate New York establish a thriving, insular enclave with a powerful local government?