added uncaught exception catching to server
added error handling lib
Merge branch 'dev' of https://github.com/IMA-WorldHealth/Kapok into dev