Add code coverage command using istanbul; add parseDuration function to get duration in minutes from strings; add extra unit tests to increase code coverage to above 90%; update README