Feature import resolve

This moves the majority of binding and scoping work to class creation time.