Fix ensemble_sync by allowing {error, <<"failed">>

Allow {error, <<"failed">>} as an error response in ensemble_sync. Fixes
the test with basho/riak_ensemble#37 and basho/riak_kv#1002
Merge pull request #658 from basho/bugfix/ensemble_sync_failed

Fix ensemble_sync by allowing {error, <<"failed">>