Easier to get session from DominoRunnable

Just cherry pick commit 20628f3b3281b9c40f2bdc6f5900501b7a4540cf if you want - the other commits are from Jesses branch as I couldn't see a way of only selecting the one commit