clean up integration tests
break out shared code from handlers, add a couple tests and a benchmark
Merge branch 'master' of https://github.com/kennethlakin/betrayalcharweb