Extended the parsing functions.

- Renamed functions in ParseGraph.hs to distinguish from analogous
  functions in ParseRule.hs
- Created file GPSyntax.hs for all the GP2-specific data types.
- Moved some shared functions from ParseGraph to ParseLib
- Modified function gpNode to parse an optional "(R)" and to parse
  the node's label.