Fix regressions with use of arguments in fat arrow functions.

Review Request #8190 — Created May 26, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x
04c1003...

Reviewers

Fat arrow functions don't get the arguments object like normal functions do.
There were a few places in the recent ES6 conversion of the base resource model
that didn't account for this, and caused a regression. This change fixes those
up and adds some unit testing to make sure we're doing the right thing.

Ran js-tests.