init: throw if passed an invalid config object
init: avoid mutating config object
Merge pull request #13 from plaid/dc-init

init: minor improvements