Add support for accessing static members (fixes #46)

This allows access to static members and provides unit tests for a different access methods. I'm not sure what happened with the csproj diffs, sorry about that.