Adding support for AMD, commonJS, global. Added .travis.yml for CI. Updated .gitignore