Add relations and seed data

This adds bookshelf relations and a seed data script. I also added some database-level validation, so you'll have to rerun migrations to benefit from those.

```sh
$ ./node_modules/.bin/db-migrate down -c 4
$ ./node_modules/.bin/db-migrate up
$ node scripts/seed.js
```