THINK-104 TRN

This branch tidies up a lot of the old way rails was setup to deliver the app. See my commit notes for more info.
Same as the comment on the application.js file. It's messy to mix manifest lines and actual css. What advantage is there to pasted it all in here?