Fix MessageTypeFilter.ERROR

s/Type.headline/Type.error/
Streamline String to Enum transformation

for the core stanza Enums.
Throw more exceptions when parsing Presences

when parsing core elements of Presences.
Add PacketExtensionFilter(PacketExtension) constructor

and PacketExtensionFilter(Class<? extends PacketExtension).
Use new PacketExtensionFilter constructor

in OfflineMessageManager
MessageEventManager's PacketFilter should ignore error type messages

Fixes SMACK-573
Merge branch 'master' of github.com:Flowdalic/Smack into xep-0174