Add the IceTimer class for elapsed time measurement.

Hopefully this will work on non-Linux platforms.