removed unnecessary items from template variables array.
added overrides for dialog title and various labels in the dialog. updated docblock accordingly.
added entries to language file for course/cohort picker labels.
removed PHP variable from JS land. updated course/cohort picker configuration with better label/titles.
pluralized label text.
be consistent with capitalization.
added overrides for widget title and picker panel title.
removed php variable injection into JS. configured picker dialog with better text labels.
Merge pull request #474 from stopfstedt/lost-in-translation

template variable cleanup
follow redirects, you jerk!
Merge pull request #477 from Trott/curl-follow-redirects

follow redirects, you jerk!
Merge pull request #476 from stopfstedt/gehst-du-zum-weibe

php variable injection removal
Merge branch 'master' into 199-refresh-learner-group
very convoluted behat test
fix test to check for bug