Convert spec/database to rspec-given

Also introduce test_db helper
Use rspec-given on clicker_spec