test if post status object is public using the same logic as post type public
Merge pull request #10 from niallkennedy/post-status-public

test if post status object is public