mockTheClock for casperJs

Change-Id: I232117465153e4b19a8fe683387f653c52fdaa53
Reviewed-on: http://review.couchbase.org/30288
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
missed groups properties in hookjs

Change-Id: I518767d2eb64a5426b5637b4e4a263c254586b33
Reviewed-on: http://review.couchbase.org/30391
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>