update nhibernate and json.net
db context can now close session, tests updated