app.js and version.js: Use the same regular expressions when replacing a swatch with another during import, swatch addition, and swatch duplication. Fixes #163 - error when downloading created themes with version 1.4.0-rc.1