Merge pull request #1 from scottlow/profile-and-group-refactor

Profile and group refactor
debug.
Merge branch 'master' of https://github.com/scottlow/studygroup_server into chatroom

* 'master' of https://github.com/scottlow/studygroup_server:
ejabberd wrapper.