MB-6059: Fix quoting so wrapper can handle spaces in path
MB-6059: Fix quoting so wrapper can handle spaces in path

Scripts generated with wrapper.in wouldn't run if the path to the
script contained spaces (as it always will on Mac OS.)

Also, the value '@prefix@' was being used in several places even
though it gets stored into a shell variable $prefix. I fixed this
so the Mac installer script install-couchbase.sh only has to fix
it in one place.

Change-Id: Iea936cc0e6226c72b627d55b13ef213ef9434bf1
Reviewed-on: http://review.couchbase.org/19052
Reviewed-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>
Tested-by: Jens Alfke <21e2afd93d5ce53123476032b5dca8a79b546094@couchbase.com>

couchbase/couchbase-cli,membase/membase-cli,couchbase/couchbase-cli,membase/membase-cli,membase/membase-cli,couchbaselabs/couchbase-cli,couchbaselabs/couchbase-cli,couchbaselabs/couchbase-cli