Added callback for GdbEngine public functions.

Functions like loadFile, addBreakpoint are actually handled asynchronously, thus providing a callback mechanism would be beneficial. As callbacks for private ones are implemented without lambda expression, exposing lambda interface to the outer world will be handy.