Inital dynamic functionality working for amelia and cosmos

In order to get the other swatches working make sure you look over the commit and the way the working swatches were refactored.

I left the precompiled assets in this commit so you should be able to rails s and switch the swatch var from amelia to cosmos to etc...

RAILS_ENV=development rake assets:precompile 

You'll probably want to do a bundle update so you get the latest tbsr gem, if so you'll need to install the latest v8 gem but there's instructions to do that with a gem post install message.