Use an in-memory sqlite database in test mode.

This speeds up the tests a bit without any tradeoff that I am aware of.
Update Rails to 4.1.7
Merge pull request #235 from CenturyLinkLabs/chore/in-memory-test-db

Use an in-memory sqlite database in test mode.
Write certificate on read instead of write.
[#81019816]