- added argument type checking
- added argument type checking

Doesn't seem like a standard way to write perl code, but it should help
find any plugin interface misuse cases very early.

sparky/rsget.pl-core