separate chains and better local tests

this is a fairly major change from the past. removed dependency on the
official opscode cookbook but borrowed some attributes.
major version bump.