As3Vanilla - added caching and Enum support

Hi, Jonny!

I previously asked, if you could add Enum support to our As3Vanilla project - knowing you are probably very busy, I added support for Java style Enums and implemented InjectionMap caching support.

Hope you can find the time to merge my changes into your project.

Regards,
Soren Jepsen
Please drop authorship comment.