[time.js] added time.Time.minPrecision and tests

Change-Id: Ic6184fc141032c7601b8ff023ada53a64c7e6538