MB-14365: Allow work_queue init function to take arguments.
MB-14365: Allow work_queue init function to take arguments.

Change-Id: I28f9939f36130c0cf4c9359b618b7416fd011765
Reviewed-on: http://review.couchbase.org/49696
Tested-by: Poonam D <6855f09986fe28ed7e8cdd9d60db878d898703d5@couchbase.com>
Reviewed-by: Aliaksey Artamonau <3c875bcfb3adf2a65b2ae7686ca921e6c9433147@gmail.com>

ceejatec/ns_server,membase/ns_server,nimishzynga/ns_server,nimishzynga/ns_server,ceejatec/ns_server,ceejatec/ns_server,nimishzynga/ns_server,mschoch/ns_server,membase/ns_server,nimishzynga/ns_server,mschoch/ns_server,membase/ns_server,nimishzynga/ns_server,mschoch/ns_server,mschoch/ns_server,membase/ns_server,ceejatec/ns_server,nimishzynga/ns_server,mschoch/ns_server,mschoch/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server