Have getNodeInfoFromInput and getNodeInfoFromModifier return a class object
Merge pull request #51 from Obvious/kylehardgrave-return-class

Convert two getNodeInfo functions to using a new class