Floating point math errors in duration as method output

The duration object refactor in moment version 2.8.0 introduced floating point math errors in the output of the duration as method.

The errors appeared for small units output: milliseconds, seconds, and minutes.

This fixes #1867 and fixes jsmreese/moment-duration-format#13.