cypher: Make toInt() handle float strings
Make math functions return null if given a null argument

o Introduce NullSafeMathFunction to simplify things
Merge pull request #2064 from boggle/master

Fixes to cypher math functions