Better python mode defaults

- Electric indent mode does play nice with python mode
- Since inline if statement is discouraged, so every time we start a
  block with ':', we want a newline.
- The `ruby-mode-set-encoding` from ruby-mode works with python-mode too.