Check declared node param names match function params

Hello @nicks, 

Please review the following commits I made in branch 'kylehardgrave-param-checks'.

I figured I'd open the pull request now so you can review the tests and make comments as I go.

93ee94dd073e37c301ee9b479801e6aeb9785d5e (2013-06-06 16:58:07 -0700)
Add some basic tests for parameter checking


R=@nicks