Detect database outages and try to wait until the db is available again. Closes #3.
Upgrade to Rails 4.
Bump version.