Added hooks for version creation / publishing

Fixes #8
Use original post type messages on post update

Fixes #10