Fixed some access restrictions and added corresponding tests.
Merge branch 'master' of https://github.com/xivk/OsmSharp