Check namespace on create of objects like update

A user should be allowed to create an object in a non-default namespace
if non is specified in the passed file.
Merge pull request #2154 from smarterclayton/namespace_on_create

Check namespace on create of objects like update