moved processing bit of publish_samples into own function to facilitate testing
Merge branch 'modified-impl' of github.com:anchor/ceilometer-publisher-vaultaire into modified-impl