Refactors TaskRc parser to match previous version written by @ralphbean.
Adds tests; fixes #51.
Merge pull request #52 from coddingtonbear/issue_51

Refactors TaskRc parser to match previous version written by @ralphbean.