fixed crash in SceneShape::hasSceneShapeObject for invalid scene
Merge pull request #353 from davidsminor/mayaHasSceneShapeObjectCrash

fixed crash in SceneShape::hasSceneShapeObject for invalid scene
Merge remote-tracking branch 'upstream/master' into IECoreAppleseed
Cleanup, formatting pass, small fixes.