ProvStore API: Added optional 'flattened' and 'view' parameters to get_document()

Example: api.get_document(148, flattened=True, view='responsibility')