Project refactoring

- Use of require.js for structuring both front and test pieces of code
- Use of phantom.js (more exactly mocha-phantomjs) for executing the unit tests
- Use of the assertion library chai instead of expect.js alone
- New directory structure (new directories private/src/vendor...)
- Clarification of the license in package.json
- Update of the dependencies defined in package.json