Fixed some warnings uglifyjs gave when compressing.
fix lengthy durations not being cloned properly

``moment.duration`` when passed a lengthy duration may return a
duration that is not equal to the input.  Add a test and a fix for
this bug.