NCBC-407: Retry View Operations When Specific Error Cases are Encountered

This patch enables the client to retry view operation when specific error
cases are encountered. For example, all errors in the 300 range are
retried and in certain cases 404 and 500's are retried as well.

Change-Id: Ifde7a2d74a7f7ccd150ab782a9b6dbdd65d5e209
Reviewed-on: http://review.couchbase.org/34007
Tested-by: Jeffry Morris <jeffrymorris@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>