Tag factory check&emit fixes.

 - Emitting "new " for constructor signatures.
 - Fixed error emitted while detecting namespaced or local tag factory.