Update flattenEnvironments to pass arbitrary default capabilities for all environments. Refs #21, #22.
Put commit ID in build ID for Sauce Labs if it is provided.
Make configuration of client easier by enabling a config option.
Fixes #16.