Add N1QL functions NaN(), PosInf(), NegInf(). Support to_ and is_ versions of type functions.
Merge branch 'master' of https://github.com/couchbaselabs/query