Improvements to the Swift Barclamp

These are various bugfixes to the Swift barclamp in order to make it apply on a SUSE system. Several of those are generic and should probably be ported to master as well.