Added timetag and Device.now() functions.
Added testspeed.java for benchmarking speed improvements.