Rails4 Beta code

Hi Radar,

Not entirely sure this is really going to help much!

The pull request has managed to display mostly spacing changes. The issues I found mainly related to the attr_accesible changes to Rails4 and this effected the routes.rb

Anyway please regard or disregard at your leisure! I'm not going to be working on this for a while due to other commitments. But as soon as I do then I would be more than happy to help out. 

Sam