Fix ping functionality when activated as component (thank you Guus and MattJ). Add initial code for XEP-0060: Publish-Subscribe. Fix case-sensitivity with setting keys sent in-chat-command (Thank you mirux)
Assign handlers to "self". Towards better handling of subscription and unsubscription. Minor fixes.
Segregate and atomize into classes.