Move timer stuff over to its own header file

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