Set .tern-project filetype to json

Sets the filetype of the tern project configuration file to json using an autocmd. It's nice to let vim know that it's actually json so you also get proper indentation and syntax validation (when using syntastic or similar ..)