refactor client config to use pelias/config module
add test suite
export config as es mutates it; deprecated errorHandler
update deps; add test suite commands