Add 'allowUndeclaredParams' option for methods

closed #94
Shouldn't `method.getOption(key)` be compared to `undefined`? This can cause unexpected behavior if method's option is set to `false`, but Api's option is set to `true`.