inputParser: fixed unmatched argument handling

Fixes issue 236: when an unmatched argument is present,
MATLAB crashes with an obscure error. Now MATLAB carries on while
keeping track of the unmatched arguments when instructed to do so
Merge pull request #237 from egeerardyn/bugfix236

inputParser: fixed unmatched argument handling