Update Defaults
Merge pull request #2 from sitepoint/update/defaults

Update Defaults
use path to discourse as set in options for url
Merge pull request #3 from sitepoint/fix/avatar-url

use path to discourse as set in options for url
make function static
don't show hidden posts
parse cooked comments for relative urls
setup comment_url to be replaced
parse either double or single quotes
add category mapping
register save for save_post callback

the transition_post_status callback is called before the post is
saved, which means we don't have information that is given to us
by other plugins. In this case, getting the primary category is
super important, and this information is not available at the time
the transition_post_status callback is fired