add simple formatter using emacs

moved from https://github.com/basho/riak_cs/pull/783 . I would have embed whole elisp codes into tools.mk or it's too confusing compared with having the tool as another file.