specialization of std.typecons.Proxy for classes

using selective import

remove nonsense code

integration of static this.

add a comment

avoiding some warnings

remove InvalidTypeException

improve readability
Merge pull request #2740 from garlic-flavor/master

std.typecons.Proxy inside classes