Simple EditorConfig parser with error reporting and tests

- Defined class EditorConfig to parse and validate EditorConfig content.
- Added tests to check for correct values and extra options

No actual glob logic attached at present.

@devoncarew @gaurave 
Let's move editorconfig related code out to it's own library file (ditto with the tests).