Require AR and Sequel in spec_helper (allows using straight rspec command)
Make sure a key exists (create it if it doesn't).
This makes pri_nextval work correctly with an empty keytable
(eg. when working on a dumped pure schema).