berkelium-cpp: added runtime.removeUpdateEvent
berkelium-cpp: fixed memory leak and unit tests