Added stubbed methods and additional logic for mongo session scope
Merge branch '4.0' of https://github.com/clitnak/mcrailo into 4.0