Start fixing issue #32

* When we can't create an album, everything crashes.  Fixed.
Cascading updates to database.js

* New version of deleteAlbum
* Add a userOwns function, so that we can quickly check if a user owns
  an album (or image or ...)
* Clean up code in create album (mostly more console logs)