Make presence parsing more robust

by allowing 'show' to be an empty element: '<show />'
Merge branch 'master' into xep198