Add a method which returns the SHA-1 hash of the HEAD.
Fix the add_category method in the Figshare module.
Rename article_id to pid (publication ID).