Added the ability to load collections dynamically and cache the generated collections

When enabled the final result will be one .js and one .css for the application.