fixes title selection for lists and main dc title
fixes css and assets references for rails >= 4.1.6
optimizes code to run on heroku