Add more ways of getting the CSRF token depending on the Request Method

I'm developing a RESTful API and to use the methods PUT and DELETE with CSRF Autoload feature I needed this little "hack".
If Security::check_token() fails to get a token from Input::post(), Input::json() and the optional parameter it will try again with Input::put() if "PUT" is the request method, it will try again with Input::delete() if the request method is "DELETE" as well.

Just sharing this to stop others from over thinking the "CSRF verification failed" error when they just need something like this.