Provide the parser encode and decode methods with the spark in case it needs
some extra info from a custom spark as to its status etc.
Added a test for the parser having access to the spark
Merge pull request #184 from davedoesdev/parser-spark-context

Provide the parser encode and decode methods with the spark