oll-doc: Add Eric4 project files
oll-doc: Parse definition file (first step)

parse version, header section and snippet body into fields.

The parsing isn't very robust and relies on a certain level of
correctness in the input files.
oll-doc: Safety check for filecontent.
oll-doc: Parse header fields of snippets (WIP)

use a dictionary SnippetDefinition.headerFields
Populate this when parsing the headercontent.

For now it only understands fields with one quoted string in a line.
Others will return None.

Another step to be done: initialize mandatory fields with the dict,
so one can walk through that dict and determine missing fields
in the file.
oll-doc: Parse multi-line header fields too

ATTENTION: This is quite fragile!
To work the snippet has to be well-formed, particularly:
- the multi-line field has to end with a single '}'
  on a line.
- this line has to be indented (otherwise it would be
  interpreted as the end of the \header block
oll-doc: Predefine expected header fields
oll-doc: Clean up header field parsing

- remove the leading "\markup {" line from the field content
- return single element lists as a normal string
oll-doc: Add MetadataWidget()

A widget (may later be moved to a dialog or dockable panel)
to display (and later edit) snippet metadata.

This commit simply sets up the widget and places it in the
main window. On loading of a snippet it displays the content
of the snippet's metadata in line or text edits.
oll-doc: some cleaning up

- add code comments
- remove obsolete stuff
oll-doc: Add metadata.py to Eric project file
oll-doc: Update Eric4-TODOs
Merge branch 'doc-script' into reorganization