Typo fixes, code cleanup
- fixed a typo in request.py that caused sendRequestWithResponse to return none when called on master
- removed death handling from functions in handlers.py, there is no need to have it any more
- reformatted some code for better PEP8 compliance