Adds support for socd_post_meta action outputting meta data about post.
Fixes warning on non-activity posts.
Tidy
Converting $options to $activity