Use doubles for time, float otherwise.

Fixes #121.
Merge pull request #407 from WebAudio/121-float-double-inconsistency

Use doubles for time, float otherwise.