Move checking of labels on optional nodes to matching

o Store labels in SingleNode patterns and use in MATCH
o Update verification of index and schema hints
o Mark pattern nodes as optional
Merge pull request #1154 from systay/optional-nodes

Move checking of labels on optional nodes to matching