Add ninja-mode

https://github.com/martine/ninja

/cc @martine