[Fix #27] resources with nonpositive IDs have undefined urls
Merge pull request #28 from zendesk/james/allow_id_0

[Fix #27] resources with nonpositive IDs have undefined urls