Csrf Token

Added csrf token support.
If the main config has csrf protection on, it will check for $token_key
in all ajax requests.