make lots of things internal
Merge branch 'dev' of https://github.com/EventStore/EventStore into dev