Move the class implementations to the correct .cc

Change-Id: Ia9bc2f28534376a30643553c873ea845f45ee039
Reviewed-on: http://review.couchbase.org/31312
Reviewed-by: Michael Wiederhold <mike@couchbase.com>
Tested-by: Michael Wiederhold <mike@couchbase.com>