Add coveralls and fix wonky db schema.