Fixed bug in timercode + added timestamp
 - Fixed integer overflow bug in timer lib
 - Added timestamp to thing model
 - Added timestamp printout on template