Upgrade to Rails 4

* Manually create .gitkeep directories. The
  `empty_directory_with_gitkeep` method is removed in Railties 4.
* Remove custom strong_parameters gem. Rails 4 includes it by default.
* Fix syntax. Syntastic reported an issue with some regular expressions.