Move gallery CSS and JavaScript to separate files

The configuration objects including require, cilantro,
views, regions, layouts and colors are still located in
gallery/index.html for readability.