WIP. Fixed failing work packages controller specs.
Stole Hagen's fix for db transaction issue.
Fixed a couple of the column headers accessibility tests.

Now showing updated column header titles based on column sorting.
WIP. fixed the show/hide options/filters things.
Fixed the last of the sorting specs and commented out the one that can't work because of a bug.
Added locale to custom field js and made a directive for optional lang attribute.
Fixed a cucumber feature which got broken in the process of spec fixing.