Changed type to enum for presence colour attributes
Merge branch 'master' into xep-0223