Fixed an issue with the IoC container (wasn't respecting order property on modules).

Fixed an issue with the IoC container (wasn't respecting order property
on modules).
Finished conversion code and will work moving some of the other items
over to it. Much smaller than before.
Made slight modifications on AOP manager so that it can be loaded into
the IoC container.