-injectProperties: also injects the injector if possible

For consistency with -getInstance methods, this commit adds support for injecting the injector where possible when -injectProperties: is used.