Merge pull request #44 from dvicini/master

clean up, mainly on database handlers and model creation/factories
Merge pull request #45 from dvicini/master

lots of commenting..
fixed some bugs in social db handler (objects took very long to save) and commented cloud code. Also now friend requests are unique on the server