Make analyzers use new weight/orientation notation.

TODO: Consolidate weight/orientation parsing for ST_ShortestPathLength
and analyzers into a single class.
Merge pull request #52 from agouge/enhancement/graph-analyzer

Make analyzers use new weight/orientation notation.