Moves setunit and setscalefactor to SimpleStateNode from Avalue. Adds
setparent to AValue class. Updates tests with new output
Merge pull request #22 from openworm/review21

Moves setunit and setscalefactor to SimpleStateNode from Avalue. Adds