Check permissions on scripts

so that we don't excecute scripts modificable by others.
More function hooks

Before executing scripts and after calling handlers.
Script that lists users
Added variable for stopping to RepeatingTimer

dunno why lol
Simplified script-matching logic.
New matching logic using matcher objects

TODO: Decorator capable of adding different and custom matchers.