Added an HTTP call for retrieving docs metadata
More REST-ful, but not perfect yet: going to implement PUT and DELETE soon
Now documents are stored as hashes: metadata plus the actual document payload