Fixed issues breaking duration property - changed toMS to check for Nan, and deep cloned properties before deleting.
added a more reliable fix to toMS()
Merge pull request #134 from mike555/master

Fixes for broken duration