Fixes few issues related to input nodes

- Fixes http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-2284
--    If the input value to Number node is integer Math.Floor(number) == number, then create Integer node AST
- Fixes http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3169
- Fixes http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-3168