Applying SHA1 hashing to resource id

This is in response to a comment on #38 to move the SHA1 application
to the graph API rather than requiring clients to do it.

In addition, the _get_resource_* functions have been made *private*.

Add a delete_resource test.

See #39

Signed-off-by: Byron Ruth <b@devel.io>