Merge pull request #70 from torhve/master

Chat time style
Merge pull request #72 from torhve/nicklist

Nicklist
Fail all callbacks disconnection / error

Callback promises are resolved when their answer is received
If the websocket disconnects or fails before receives its answer,
it's promise is rejected.
Wrong password test with failure callback
Split creating the defer and returning the promise
Implement doSendAllWithCallback

doSendAllWithCallback sends all the messages of the list
and returns a promise that is resolved when all the individual
promises are resolved.

Useful for avoiding long chains of .then().then().then() ..
Send all init commands in batch
doSend always doSendWithCallback

The goal of this change is to provide only one way of sending
messages. By default, a callback will always be returned, and
the caller will decide if it needs to use it.
Rename doSendWithCallback to send
Rename doSendAllWithCallback to sendAll
Remove doSend

Replace calls to doSend with calls to send
Group all messaging commands
Document messager methods
Callback ids cycle from 0 to 1000
Initialize angularjs routing module
Modifies angular model instead of dom element
fixes #74
Create inputbar directive
Move inputbar related events to inputbar directive
Move completeNick method to inputBar directive
Isolate the nick completion in the inputbar's scope