fixed memory leaks in config.c
added note support

* Repository.create_note()
* Repository.lookup_note()
* Repository.notes() - generator
added notes in testreop
added tests for notes