Added support for palo.json + much refactoring

palo.json can now be used, in addition to bower.json, to describe the resources of a package. For installed packages without palo.json files, the palo.json file in the packages root directory can contain overrides.

Also includes significant refactoring to improve organization and extensibility.

Bonus:
* Added support for cofigurable imports and exports
* Added .jscsrc, allowing tests to pass again