Fix bug with JS confirm dialog in batch actions. Fix "undefined variable exception" in generated controller STUBs for object actions.
Merge pull request #626 from MikleDzyba/master

Fix "JS confirm" and "undefined variable" bugs.