Ability to parse infinite duration from String. 

Also simplified the parsing of duration strings by using regexp groups (instead of character parsing) and added a unit test for the Duration class, mostly for testing the string parsing.