Added option of the exact error evaluation

exact_error_eval allows to evaluate precisely error using all data set
(even in the mini-batch mode).
Fixed bug with bad batch number and  others.