Updated parser

* Updated parser such that it can now be used to parse an arbitrary set
  of lines (useful for capture.vim) instead of relying on an actual
  dotoo file. Use parser#parsefile() for that. Also both parser & parse
  now accept a dictionary as argument to make it easier to give defaults
  for various options.