Using americano instead of compound

Refactored the code to use americano instead of compound.
Also the server side code is compiled into javascript for better performance.
The application now follows the new cozy constraints about permissions (cf package.json).