Adds tonumbervalue for NaN returns. Fixes #298

Note this also requires a newer `colony-compiler` build, 0.6.15.
Reasonable. `tonumber` being a Lua internal function, this logic belongs in our custom `tonumbervalue` function which should be properly implemented.