Add Emacs command for automatic free-form indentation

Consistent indentation is important for projects with several contributors. As typically different editors and IDEs are used on the same project, it is desirable to get consistent indentation by an automated procedure. I've added the Emacs command I use for this purpose.

@certik, maybe you can add something similar for vi?