Lay down foundation for audit daemon

Change-Id: I59fa1aeab28ae25f8e0e641599092c4d39236000
Reviewed-on: http://review.couchbase.org/42343
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>