Add a spec for an extended API for binary data handling

This clause should also handle NaN (which ToNumber can return, unlike ToInteger O_O). And RangeError instead of TypeError.