Updated REST_Controller with changes from Pro.
Merge branch '2.1/develop' of github.com:pyrocms/pyrocms into 2.1/develop