Tighten up data associations

This pull request will make it so dependent items are destroyed in the DB upon destroy. i.e. all of a customers trips will be destroyed if his account is deleted.

There are also a few more scheme validations in there.