Get karaf to work with deployed kar files
Fix up deploy script