Cleanups

A bunch of cleanups:

- updated travis to use ruby 2.1.4
- Removed extra #!/usr/bin/env ruby from rails script
- enabled warnings by default from tests
- File.exists? is deprecated, use File.exist? instead
- Fixed all tests using ambiguous method calls when using regex