Add inproc performance tests.

* Implementing with synchronized functions.
* The performance loss of throughput test is very strange.
Improve the performance of frame class.

* Dynamic allocation causes a big loss of performance.
* zmq_msg_* functions can also achieve exception-safty.
Fix some bugs

* The frame must be initialized before zmq_msg_move.
* zmq_msg_init will not throw any exception.
* write_frame and read_frame should have flag to indicate more or
non-blocking.