Deep MMT Transit Survey of the Open Cluster M37. II. Variable Stars