emacs: Add autoload cookie to ninja-mode

This commit ensures that users who have installed `ninja-mode.el` from [MELPA](http://melpa.milkbox.net/)  will be able to automatically turn on `ninja-mode` when visiting a `.ninja` file without explicitly requiring the library first.