Case-sensitive flags and improved source tracking
Fix bug and improve parser

- Fix bug in setParameters: further modifications of newParams
  affected the parser
- Update parser: improve tracking, add switches with optional values
  and support for some new option notations. Allow switches to occur
  several times.
Use prototypal inheritance

Change module to export a class with prototypal inheritance. Format
code.
Add unit tests
Add .editorconfig