Initial trait virtual member proxy implementation

This has some flaws that should be addressed, but those will be detailed in
later commits; this works for now.
Moved closure out of getMemberVisibility

This was defining a function on every call for no particular reason other
than being lazy, it seems.

Performance poopoo.