Unloading interface for functions, enums, globals.
Unloading: invalidate unlaoded objects. (ROOT-5701).
Revert .U and add comments. (ROOT-5701).
Make TEnum derive from TDictionary and AST check optimazation for IsValid. (ROOT-5702).