Bundler, 'def class' check

I've moved the Gem deps to Bundler to make life easy in environments with conflicting rspec versions.

I've also added a check for 'def class', which is a bad idea (& recently cost me several hours of head-scratching).