[IMPROVED] Token expiration timers

* Added new SQL file to update tokentypes table
* Added new function to base class
* Renamed function in base class used in shares class
* Added new error code
* Added new cronjob to delete expired tokens
* Added new cronjob to run-cron scripts and monitoring page
* Added new function to tokentype class
* Added new function to token class

Will address #1181 once merged.
[FIX] Removed debug test
[ADDED] Updated base structure
Merge pull request #1191 from TheSerapher/issue-1181

Issue 1181