- Relaxed non-selector ordering from int to IComparable.
- Fixed indentation.
Fixed bug where resolution wouldn't work with dependencies registered as interfaces. Had to fall back to untyped metadata. Also refactored extension methods for correctness.