MB-3906 - mbrestore flags with correct byte order
MB-3906 - mbrestore flags with correct byte order

Flags are stored in network byte order and should be restored in host
order when going through mc_bin_client API.

Change-Id: I2e5b765f2f045c61fe837e2818dcc4247ec0b86a
Reviewed-on: http://review.membase.org/6616
Tested-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>
Reviewed-by: Bin Cui <ed18693fff32c00e22495f4877a3b901bed09041@gmail.com>

owendCB/ep-engine,couchbase/ep-engine,zbase/ep-engine,sriganes/ep-engine,zbase/ep-engine,jimwwalker/ep-engine,abhinavdangeti/ep-engine,membase/ep-engine,couchbaselabs/ep-engine,abhinavdangeti/ep-engine,membase/ep-engine,zbase/ep-engine,teligent-ru/ep-engine,membase/ep-engine,couchbaselabs/ep-engine,abhinavdangeti/ep-engine,daverigby/kv_engine,daverigby/kv_engine,hisundar/ep-engine,couchbase/ep-engine,couchbaselabs/ep-engine,zbase/ep-engine,jimwwalker/ep-engine,couchbaselabs/ep-engine,teligent-ru/ep-engine,membase/ep-engine,daverigby/ep-engine,owendCB/ep-engine,daverigby/ep-engine,owendCB/ep-engine,abhinavdangeti/ep-engine,sriganes/ep-engine,teligent-ru/ep-engine,hisundar/ep-engine,sriganes/ep-engine,hisundar/ep-engine,jimwwalker/ep-engine,couchbase/ep-engine,owendCB/ep-engine,jimwwalker/ep-engine,teligent-ru/ep-engine,hisundar/ep-engine,abhinavdangeti/ep-engine,daverigby/ep-engine,sriganes/ep-engine,couchbaselabs/ep-engine,zbase/ep-engine,couchbase/ep-engine,daverigby/ep-engine,daverigby/kv_engine,daverigby/kv_engine