Made lib files anonymous amd modules
Added AMD and CommonJS test suites
Bumped version number