override isNumber() in NumberNode
override isBoolean() in BooleanNode
tests for is*() functions
moved default node factory to own file