Python 3 support

Resolves #76 

- Makes tern.vim and tern.py python3-compatible 
- Fixes whitespace in tern.py according to PEP8

I've verified that the plugin is working with in both python2 and python3 versions of vim.