Adding pan/cons/random choices for the web app, and making patient creation transactional Fixes #157