Return code validation

Should address https://github.com/bflad/chef-docker/issues/49 and https://github.com/bflad/chef-docker/issues/52