Fixed null exeption when trying to get the content type of a null conten...

Resolves #CMS-640

The Orchard ContentManager GET method is called twice for content items in some cases to get the item itself, and then to get version records, which can return null (in the case of unpublished items). We need to handle the null.