* Added support of multiple include and exclude patterns for auto-capture.
* Fixed an issue that no-tree books are shown in `Capture as` dialog.
* Fixed an issue of showing items unrelated with the current selected parent book in `Capture as` dialog.
* Fixed an issue that item locking does not prevent a recapture or merge-capture.
* Fixed an issue that copying an item across scrapbooks can generate two transaction backups.
* Miscellaneous code optimization and refactoring.