Slight Refactoring
Now using queries to get num in/out for native functions

Signed-off-by: Richard Minerich <richard.minerich@gmail.com>
Fix an issue where I wasn't checking for missing optional arguments properly (after new args query stuff)

Signed-off-by: Richard Minerich <richard.minerich@gmail.com>
Fixed some stuff up I changed while debugging the missing arg issue.  All tests are green.

Signed-off-by: Richard Minerich <richard.minerich@gmail.com>