Created a script to build all dependencies for Sherlock

Change-Id: I61eec82128e089fa82a21d20226af1166656b2a2
Reviewed-on: http://review.couchbase.org/44556
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>