Cleanup, release date, ratings view shows only user's stuff, a few common functions

The implementation of release date, especially the input, is pretty
terrible for now.

I've disabled deleting of albums for now, because it needs to do a
cascading delete on ratings of that album, otherwise the references
break.