Export FormValidator as a CommonJS module

Helpful for using FormValidator via Browserify