Added date rule test, and new module definition which now supports CommonJS + AMD
Added date tests