Added duration method in Rest class
Merge pull request #19 from gcosmin0/master

Fixed issue #4