tests (see ext desc)

added limited API testing support for flaskServer.py, refactored ajax
calls in master.js, added integration tests for outgoing data (from
client perspective)