Use performance.now where available.

requestAnimationFrame now returns sub-millisecond timestamps
in Chrome - this offers finer results where available,
and can be replicated by using performance.now instead of
Date.now.
Merge pull request #5 from hughsk/performance-now

Use performance.now where available.