Fix comparison of presence state in event subsystem.

Several new IEs were not given types (or names), causing the comparison
function to improperly succeed.  This adds those.

(closes issue AST-1128)
........

Merged revisions 382390 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@382391 f38db490-d61c-443f-a65b-d21fe96a405b
Fixup some bridge and format capabilities comments and whitespace.

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@382392 f38db490-d61c-443f-a65b-d21fe96a405b