Fix for retrieving UnboundMethod parameters

This pull request patches `UnboundMethod#parameters` (and the code it depends on) so that it returns the correct argument types and names when dealing with method definitions that contain local variables. Thanks to @dbussink for helping me out with these changes!