Added a translate view function to app/views.py.
It gets translated text from microsoft_translate (sends data to it as if it has obtained form info via POST).
This is converted into JSON.