Fix change-version.sh

- previously excluded any file contain log or war, rather than
  just .log and .war
- previously excluded any file with "." in a dir on its path,
  rather than just . at the start of dir name
Merge pull request #657 from aledsage/cherrypick/change-version-script-fix

Fix change-version.sh