Merge pull request #56 from SunboX/master

Use "Done" to save settings and "Test Connection" to validate
Allow handlePresence to announce presence change
Listening for contactPresenceChange now. fixes #40
Merge pull request #57 from AVGP/presence-awareness

Presence awareness
renamed state-icons according to RFC-6121 4.7.2.1
Ah, got it mixed up
Merge pull request #58 from AVGP/state-icons-revisited

State icons revisited
Small refactorings for StorageSvc / SettingsSvc, bugfixes too
Use SettingsSvc to store/retrieve account data
Merge pull request #59 from AVGP/persistence

Persistence
replaced chai/mocha with Jasmine + rewrote StorageSrv and SettingsSrv tests to Angular style (fixes #28)
fix more minor issues in SettingsSrv
add links to all menu entries + add empty controllers + add routes for all menu entries + fix snap-toggle issue with some templates (fixes #31)
refactored main.js (most of it isn't used anymore) + renamed to dom_manipulatons.js + readded to index.html (fixes #61)
converted chat_message.js and chat_history.js to Angular models (fixes #29) + updated the corresponding tests (fixes #30)
clicking 'Done' in the navigation should close it (fixes #66)
delete unused chat.js file (fixes #64)
converted notifications.js into a Service (fixes #65)
added angular.js and angular.min.js.map so we can debug angular easily without using the non-minified version in the html <script> (fixes #49)
Status icon in top bar on the contacts screen should redirect to /chatstate (fixes #63) + "Add contact" button on contacts screen should redirect to /addcontact (fixes #62)