Add -4 option to force Rails 4 mode
Properly set "4.x" version if it can't be determined
Merge pull request #527 from presidentbeef/add_rails4_option

Add -4 option to force Rails 4