Make parser configurable.

Fixes #182.

I think this is all it takes. I did a run with `c.parser = future` with Puppet 3.5.0.rc1 and used the new type system, everything worked and passed.