[BugFix #660]

__Includes:__

1. getYMDFromCoordinate() and getCoordinateFromYMD() fixed. 
2. Fixed timescale behavior.
3. Fixed unit-tests.

__Code Review:__
http://mrccodereview.cloudapp.net/ui#review:id=1287

__Notes:__
This pull request doesn't include changes for days representation. Currently in CZ we use Math.round() for days. E.g. 6.4 is 6th day and 6.6 is 7th day. This is not an issue for now since we do not have clock scale.