PropertyGraphSail: Speed up xPx and xPO queries

As the PR's title says.

Vertices and edges are searched for by properties using `Graph#get{Vertices,Edges}(key, value)` and `Graph#query` methods.