Partial fix for #65

Send IDENTIFY message only after we receive Jessica's NOTICE.
Merge pull request #75 from coldstorm/issue-65

Partial fix for #65
Add check for NickServ password notification message

- Move channel joining code into $scope.joinChannels
Refactor/restructure login.js:

- Take Connection event handlers out of $scope functions
- Add setError function that takes care of $rootScope.$apply
- Get rid of `connecting` and `connected` variables in LoginCtrl and instead put them in the Connection API
Move event registration to a separate function
Remove obsolete code