Add timer support, minor alarm fixes

* Implemented timer similar to alarm functions
* Modified alarm functions to always operate from fresh values

Signed-off-by: Chris Evich <chris-arduino@anonomail.me>