Refactor error message for argument mismatch to be more generic

Previously an insufficient amount of arguments to e.g. the 'type' utility resulted in a "Too many arguments" feedback, which can be somewhat confusing. Now if the argument count does not match, a more generic error message is shown.
Merge pull request #261 from saminiir/master

Refactor error message for argument mismatch to be more generic