Corrected logic around handling of replies, more in alignment with put_core.  Added some more input validation, taken from put_fsm.
Corrected logic around handling of replies, more in alignment with put_core.  Added some more input validation, taken from put_fsm.

andytill/riak_kv