emacs: configure smart-operator and paredit

- Add config for smart-operator and paredit. paredit is not
yet tested.
- Moved duplicate line emacs code to snippets.el
- Add emacs C indent hook from kernel source's Documentation/CodingStyle
file

Signed-off-by: Ratheesh S <ratheeshreddy@gmail.com>