fix: if note not set, insert null iso "null"

when create class was called with note not set, text "null" was inserted
in database, changed to null. Also $note property was missing.
Merge pull request #1586 from fappels/develop

fix: if note not set, insert null iso "null"