Bug fixes

Fix for new pages from template saving as staged revision instead of published
Fix for publishing drafts when staging version is set