Fix for issue where object type resolution would fail if the item was not published. This is because GetById(int) gets the item regardless of its published status. Changed to use GetPublishedVersion(int) will always get the most recently published version of the item.
This method is used when creating and saving content, so it is OK to use GetById(int) here.
Children mapper was also getting non-published content. Change to get the published version of the node's children.
Merge branch 'develop' of github.com:drachele/Glass.Mapper into feature/issue49
published only checks and publish service
Changed the Umbraco MVC TemplatePage and ViewPage to use the newly created UmbracoPublishedService.
umbraco context
Merge branch 'feature/issue49' into develop