Send the CSRF token when submitting keywords

When submitting keywords with the CSRF middleware, django raises an Unauthorized error.

This fix checks if there's a csrftoken, and submit it along with the keywords.