Add DatabaseCleaner gem for testing

Also fix a test in pieces controller spec that broke when adding
DatabaseCleaner.