Migrate to Rails 4

The tests pass, the app boots, and it appears to be working OK.  Much of the code needs to be re-written though.
Add all of tmp to .gitignore
Formatting change
Don't hardcode the username and password

Specify them in a new config file, application_config.yml, that can be copied into place during deployment
Add easy way of fetching an entry type by its description
Upgrade to rails 4 final
Add scopes for fetching Entries by type and ordering by their title
Added some model validations
Clean up the entries controller
Minor cleanup to the Entry model
Clean up the views a bit
Story the search query in the @query attribute
Update dependencies
Update LICENSE and README