Use require.js
Add repo and test task to package.json
update readme.
Merge pull request #1 from olivernn/require

Use AMD