Moved all types into the Type namespace.
Store modifiers.
Added name binding rules for interfaces.
Added name binding rules for type references.