[Fix] in timer library

timer.simple was throwing an error if the entity got removed while the timer was running
[Change] the check in timer.lua to IsValid

As suggested by Divran in 930a1250e0e1bf7fc1a824004e99d86ce0ab252f
[Fix] some netlibs not doing typechecks