fixed bug in {,} syntax of sparqlpath
Merge branch 'master' of github.com:cgutteridge/Graphite
another typo. Can't use array_pop on a non variable