Added validation when saving to db.
Clojure-ified a little code in base model.
Moving forward with models, shares, friend requests...
Merging Ted's work with Matt's.
Fixed the failing share test when the test is run along with all other tests.
Merge branch 'master' into matt
Added database encryption and separate databases for each user.