Updated the CSRF class

Tabs to spaces.
Added a "set_time" function, it gives the time till the token expires!