merge the core

fixes #2113
add solutiondir hack PS prooject
dont throw if interface is interfaceType.IsNestedPublic
use IsVisible instead
Merge pull request #2115 from Particular/mergeTheCore

Merge the core