Allow logged in user to switch identity in development.
Lock down sort order in API exercises output
Move logic out of exercises controller
Add API endpoint for current exercises
Merge branch 'active-exercises'
DRY up user.rb.
Merge pull request #1530 from Gaelan/dry-users

DRY up user.rb.