Export FormValidator as a CommonJS module

Just a quick few lines to export FormValidator as a CommonJS module which is really helpful for using FormValidator via Browserify without the need to shim it.