Made changes to the logic of the UIM deploy script (completely clean the karaf repository before a new deploy)