Rename config with state, and refactor with dpath instead of deepmerge
Relies on !5 (merged) being merged first.
Also, changes default behaviour of state.set
to overwrite key as this was being done in all but one case.
Closes: #9 (closed) and #8 (closed)