see #10743 - code refactoring to allow reuse of duplicated ways algorithm in plugins

git-svn-id: https://josm.openstreetmap.de/svn/trunk@7721 0c6e7542-c601-0410-84e7-c038aed88b3b
fix #10746 - Add Notes checkbox in DownloadDialog (patch by ToeBee)

git-svn-id: https://josm.openstreetmap.de/svn/trunk@7722 0c6e7542-c601-0410-84e7-c038aed88b3b