Upgrade to rails 4.1.8

Hi guys,

@fordie @tatyree @himal-mandalia 

Just doing my security rounds and noticed you were a couple of rails versions behind. There are a few non-critical security updates since 4.1.6 so thought it might be good to keep up to date. Tests appear to be passing but let me know if this causes any problems for you.

Cheers,