Allow macros to be used with Injector

Removing error caused when macros are used around an instance of the Injector. Also updating lib.json dependencies for haxe 3 compliance.