Refactor: Centralize optional argument parsing for graph functions

ST_GraphAnalysis, ST_ShortestPathLength and ST_Accessibility all
contained parseOptionalArguments methods. This puts them all in the
GraphFunctionParser.

I add several unit tests to make sure everything is working as expected.

Fixes #56.