enable int/long values for list of time/duration (fix #13)

@tfoote @wjwwood Please review.