Made content validation more generic and added validator for IODEF

Removed Atom knowledge from publish processor by:
- Passing generic item element into AtomEntry rather than (Atom specific) entry element
- Pushed local and global ID generation, and in-reply-to getter, into validator