XEP-0280 and XEP-0297

This implementation is complete with JavaDoc, test cases and a smack.provieders entry.

If you prefer, I will squash all commits into one; just let me know.