Clean up unneeded vars/comments in Controller_Rest.
Change some REST action_get() overrides into before() overrides.
Collapse 8 near-identical functions in the Rest class into 1.
Merge pull request #411 from shadlaws/fixes_20130615_3

Fixes 20130615 3