Added a duration() method to Rest as desired, closing Issue #4
Merge pull request #13 from aphyer/master

Added a duration() method to Rest, closing Issue #4