Add support for configuration file

This patch cleans up the handling of all of the command line
options and replace them with a single configuration file.

Change-Id: I6a7994427b33d6a54e4fa901d0f5f3836a6b3472
Reviewed-on: http://review.couchbase.org/33119
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>