Added support for TimeSpan properties

Fixed issue #5 by providing a conversion between TimeSpan and integers
for use in the Duration field.