Added NSManagedOnject serialization support and prepared for notes backup.
Backup. 1st version, still not tested.
Working backup and restore of the notes db.