Adding support for parsing the notes dump format

This is untested code since there is not yet any GUI to actually use it.