Bunch of merged modifcation in core library.

- Rename exception => base_exception.
- Remove Boost.Asio classes.
- Add collection_buffer class.
- Add a flag to set if a collection clears its content before each
  aggregation.