Untabify and add hints to emacs

Change-Id: Ia185733321efc3a8bc5cea368e556a1dc0547288
Reviewed-on: http://review.couchbase.org/34890
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>