Merge pull request #9 from bulrog/INKLESS-1485

INKLESS-1485: update upgrade function to remove old urls before installi...
Add unit tests
INKLESS-1485: fix issue that if we don't need to install new version we don't remove old version.
Merge branch 'master' into INKLESS-1485