Improved randomization for hostlist_randomize
Improved randomization for hostlist_randomize

This adds an improve random generator suitable for fisher-yates
randomization that attempts to provide a more even distribution.

Additionally, the srand() call in the library has been removed, as this
is considered bad practice.

Change-Id: I4ce3ccc65eb065a4b726ad15d31089f543ac9dc7
Reviewed-on: http://review.couchbase.org/49122
Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Subhashni Balakrishnan <7129c8e37b832c7bd362ff375532d24b98ef5162@gmail.com>

kojiromike/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,signmotion/libcouchbase,maxim-ky/libcouchbase,PureSwift/libcouchbase,avsej/libcouchbase,mody/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,mody/libcouchbase,senthilkumaranb/libcouchbase,PureSwift/libcouchbase,mody/libcouchbase,signmotion/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,maxim-ky/libcouchbase,avsej/libcouchbase,signmotion/libcouchbase,senthilkumaranb/libcouchbase,couchbase/libcouchbase,senthilkumaranb/libcouchbase,kojiromike/libcouchbase,PureSwift/libcouchbase,avsej/libcouchbase,PureSwift/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,avsej/libcouchbase,maxim-ky/libcouchbase,senthilkumaranb/libcouchbase,couchbase/libcouchbase,mody/libcouchbase,couchbase/libcouchbase,maxim-ky/libcouchbase