Better handle npm and bower dependencies

This PR makes it easier (and cleaner :)) to handle npm and bower dependencies.
It adds a package.json file for handling npm dependencies and a bower.json file for frontend assets dependencies & makes the assets_directory variable dynamic against .bowerrc configuration file