use bundler for testing, add gems required for tests

Summary:

- rake `0.9` is required, the tests will not run on `10.0`
- add development dependency on database gems - they are required for tests
- add bundler instructions - solves wrong gem version loading problems