Move maybeDefineUAString() method to parent test case
Add documentation for get_post_event_action()
Remove hooking for publish_post

We use transition_post_status now
Refactor action_comment_post
Add tests fro get_comment_event_action