Pass all method parameters in constructor

Implementation of the interface:
```javascript
var myMethod = new ApiMethod({
    name: 'myMethod',
    params: {
        name: {type: 'String', required: true}
    },
    options: {
        hiddenOnDocPage: true
    },
    action: function (params) {
        // ...
    }
});
```
Here the error should be something like 'Some of the required method properties were not specified (name, action).'