Fix CAPI's ensure_full_commit() method
Fix CAPI's ensure_full_commit() method

ensure_full_commit() used to return 0 as the instance_start_time for a database
but as a binary string. The right data type to send it as is an integer as the
get_db_info() method does. This changeset fixes this inconsistency by having
ensure_full_commit() also return an integer. The problem was discovered during
XDCR integration testing.

Change-Id: I6eef64ef2eb00ece0bdf597389f5fe1766f2a56d
Reviewed-on: http://review.couchbase.org/10219
Tested-by: Srinivas Vadlamani <4036f57732a648e71da3ac2c829c8239a16a4c5d@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>

vzasade/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,pavel-blagodov/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,nimishzynga/ns_server,ceejatec/ns_server,t3rm1n4l/ns_server,membase/ns_server,ceejatec/ns_server,mschoch/ns_server,ceejatec/ns_server,membase/ns_server,mschoch/ns_server,nimishzynga/ns_server,mschoch/ns_server,mschoch/ns_server,ceejatec/ns_server,vzasade/ns_server,daverigby/ns_server,daverigby/ns_server,nimishzynga/ns_server,vzasade/ns_server,daverigby/ns_server,t3rm1n4l/ns_server,vzasade/ns_server,nimishzynga/ns_server,daverigby/ns_server,ceejatec/ns_server,mschoch/ns_server,pavel-blagodov/ns_server,t3rm1n4l/ns_server,nimishzynga/ns_server,pavel-blagodov/ns_server,mschoch/ns_server,nimishzynga/ns_server,membase/ns_server,pavel-blagodov/ns_server,membase/ns_server,t3rm1n4l/ns_server