admin users listing, added sorting to users courses.
Merge branch 'devel' of github.com:Meta-arviointi/meta-arviointi into devel
Change action-type when editing action, 85% ready

Not 100% working yet, but can be tested from left-most "Edit-action"-icon,
and clicking either ActionTypeID 2 or ActionTypeID 4 links.
These make ajax request to actions/edit_test and render generic
action-form element from View/Elements/generic-action-form.ctp.

This generic action form maybe can later be used to create all action
forms.
Merge branch 'devel' of github.com:Meta-arviointi/meta-arviointi into devel
Adminin kurssikohtaisen sivun rautalanka ( /admin/courses/index/Y ), joka aukeaa kurssin lisäyksessä ( /admin/courses/admin_add )
Few little tweaks (real calculations for student count (still problem listing only students for certain course), real calculations for assistent count)).
Quit and action counts just placeholders.
With aid of Snurppa, actual student listing on admin coursepage works correctly
Little tweaks to CoursesController
Added course group size for assistants in admin/course/Y page(s)
commented out devel debug stuff from previous commit :-p
Linking between admin/users/index and admin/courses/* via users name and/or course name.
Might include additional code tidying.
testing datetimepicker
Adjusting forms and cake to use new datetimepicker
Action type selection when editing actions. closes #15
Get last review date of action (ajax) and add to forms
[18:21:07] < Ripppe> joo, kellonaika viel mukaan :)
Unit test and new functions to get actions since last-login
Fixed bug in new_actions-function, now returns only action in current course
Function to return all open actions
Merge branch 'devel'