Pattern objectname

Merge the HEAD of ganglia:master into this fix for #3.
Malformed patterns are ignored and valid patterns are expanded into `ObjectName`s and added to the sampler one-by-one.