Fix of issue BOO-1078 Cannot use enumerations as attribute parameters. ...

...…

This issue was caused by EmitAssembly.cs: he emitter creates code for attributes first. However, if attributes have arguments of a type that is defined within the same assembly, this type is unknown on creating the code for the attribute. Used the TypeCreator to fix.