ignore empty tables with tests, minor cleanup.

Saw that @virusman had a PR that needed tests.  In order to get the tests working, I had to change the Gemfile, then moved the gem dependencies into the spec.

I could not get the tests to work w/o hard coding the activerecord version as it kept installing 1.6.  I couldn't find a reason for this.