Fixed bug causing getDesignDoc to fail.

Fixed issue where the body was not returned from http requests
for views, updated test and fixed a couple missing semicolons.

Change-Id: Ib0ee4f355d3f4237405d2fe9945a7ffd4c13c3f0
Reviewed-on: http://review.couchbase.org/28989
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>