A tiny town in upstate New York has is heading for a showdown between bitcoin miners and a group of citizens looking to stop the industry in its tracks.