Use lambda expr for command callback.

The asynchronous stereotype of GDB/MI makes callback neccessary. With the help of lambda expression in C++11, we can now assign different callback for individual command execution.