fix app id when under test (causes probs with task queue)
ensure proper serialisation of datetime.time objects
remove indent from json output
add seperate 404 and 500 handlers