add support for away-notify cap
Only try to set line.status if awaynotify is enabled
away-notify: add tests
Add capability negotiation support

* Use CAP LS to get a list of supported CAPs from the server
* Send CAP REQ for the CAPs we need, if they exist
* Send CAP END
Merge pull request #17 from maxanton/away-notify

Add support for away-notify