Changed most of the callbacks

From function(data) to function(err, data)
Fix setHistory in Room
Work on #51
Make callback optional for BufferObject.get
Adding async login

#52