Merge pull request #7 from arobson/master

Add support for resource collection response
Bug fix for #8 - relative root URLs shouldn't throw an exception.