WIP - upgrade QC + Rails 4 + db lock page + NULLS LAST when sorting

This is a WIP and requires a bit of testing before merging.

Those are breaking changes.

Includes:
- [ ] upgrade to QueueClassic 3
- [ ] upgrade to Rails 4+
- [ ] adds a page to see db locks for the process running a job
- [ ] make the null show last when sorting 
- [ ] ...?
Can we move to jobs#show instead? There's a bunch of other info that would be useful have displayed in a full page rather than a table.