Added options to publish publishing pages. 

Approves if moderation is enabled. Unit tests also added. Updated the powershell commandlet with the same support. 
Ah cool. I'll just change it.