Sorting reversed by ID by default.
Use invoice_no for the filename if present.
Cleaned up coffee script a bit.
Fixed missing user-method crash and wrote test for method.
Switched counts to be more logical.
Added pry for debugging.
Implemented message-id and in-reply-to on assign-mails and comment-mails.
Task-check-mails now also sends with in-reply-to header.
Fixed spec because of change from ID to invoice_no in filename.
Merge pull request #174 from kaspernj/kj/mails/reply_to_impl

Mails: In-reply-to implementation.
Merge pull request #173 from kaspernj/kj/tasks/progress_switched_counts

Task-progress: Switched counts to be more logical.
Merge pull request #171 from kaspernj/kj/invoice_sorting_and_filename_fixes

Invoice sorting and filename fixes
Merge pull request #172 from kaspernj/kj/users/roles_reload_crash_fix

Users: Roles reload crash fix.
Merge remote-tracking branch 'origin/master' into kj/invoices/state_impl

Conflicts:
	Gemfile.lock