Correctly handle plan_changed as a response to the commit command

Previously, the code was handling plan_changed as a response to the plan
command.
Refactor and handle ring_not_ready during commit as well
Merge pull request #397 from basho/adt-handle-plan_changed

Correctly handle plan_changed as a response to the commit command