Adding HistoricDataCapture, gets list of trades given a time frame and quaantizes them to an interval.
Adding average per interval and save to couchDB next.

Signed-off-by: Dsyko <dsykora@gmail.com>