introduces identities, breaks database (again.)

users and identities are now seperate classes, this split might result
in slight template bugs.

Streams are still broken, so is most of JSON functionality, posting and
adding/viewing/deleting friends however works (again!)
Stream partially restored.

Still no reposts visible, though :(
views work again, partaaaaay!