Fix SmartOS build issues.

Moved cJSON to its own static library due
to double linking errors between libvbucket
and couchbase_utils both using it.

Change-Id: I814184d0162d58525c608b29898feed6812ef652
Fixed build status indicator.

Change-Id: I4f447bd382f9df942eba9dd9695c3631f0472bbd
Added ref to builderror in binding load error.

Change-Id: I24917f652e120328795a8e5d7041bf2ef1e4e855