Make Plinth Rails 4 compatible 

In rails 4 the whole app is being loaded in and causes an error.