fixed service.py to work with test-service notebook. Also made it send errors with pickle when pickle is set
update / merge service.py from infinite_wave branch, and add test-service notebook (not yet working)