change session commit method to return a transcation id if a user and a reason are supplied.
updated amberdb verison.
Merge pull request #182 from nla/commit-txn

change session commit method to return a transcation id for a known user.