fixed dividend and tests
updated testcase to show put_xminute bug in some usercase.
fixed put_xminute when data are partial day data or cross multidays.
Merge branch 'master' into imigu