Whitelisted params generation in controller actions

Improvement over previous pull request. Now generates params in controller actions.

From
```
def create
  @foo = Foo.new(params[:foo])
  ...
end
```
to
```
def create
  @foo = Foo.new(foo_params)
  ...
end
```