Fix bugs in ProvenanceStoragePostgreSql class
location_get was decoding paths to string instead of returning bytes directly as the interface requires.
revision_get was exposing internal origins id instead of joining with the origin table to retrive their sha1s.