Reset 'weird_things' upon success

Change-Id: I11f3aefda677ee4ca7ba841f662c68f9b7c9c73a
Reviewed-on: http://review.couchbase.org/29018
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix typo: 'boostrap' -> 'bootstrap'

Change-Id: I50e515276e27eb0e4d376e8e29c719a185717175
Reviewed-on: http://review.couchbase.org/29019
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix compiler warning in mock-unit-test.cc

warning: deprecated conversion from string constant to ‘char*’

Change-Id: I6a0ea3eb6321ae7c9d04965d83f98236b9cdf32b
Reviewed-on: http://review.couchbase.org/29037
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>