skip embedded image extraction if note has zero resources
some image extraction preprocessing enhancements

- added dryrun mode that doesn't perform modifying actions (good for testing the note before changing it and creating new image notes)
- checking for resources that were not extracted and warning if such resources exist