Fix for incorrect missing vendor namespace when namespace line has leadi...

Fix for incorrect missing vendor namespace when namespace line has leading spaces. Fix strips leading spaces before namespace validation.  Fixes issue #134