Journal editable_by? checks if user is the journal owner.
Added update link to activity representer.
Wired up update comment permission to front end.
Add addComment link to work package representer and wire up template.
Merge branch 'dev' into fix/comments-permissions

Conflicts:
	lib/api/v3/work_packages/work_package_representer.rb
Remove unused paths from path helper and fixed activity service test.
Merge branch 'dev' into fix/comments-permissions

Conflicts:
	lib/api/v3/work_packages/work_package_representer.rb
	spec/lib/api/v3/work_packages/work_package_representer_spec.rb
Fixed activities specs.
grr put back in commented out code.
Removed commented out line.
redirect to last URL after direct omniauth login
Merge branch 'dev' into fix/comments-permissions
only append origin if back_url is given
Merge pull request #1644 from opf/fix/comments-permissions

Fix/comments permissions
Merge pull request #1662 from opf/fix/back_url_with_direct_login

redirect to last URL after direct omniauth login
Require comment text on overview/activity.
Use latest icons for pdf and xls with descriptions exporting.
Merge pull request #1675 from opf/fix/export-options-icons

Use latest icons for pdf and xls with descriptions exporting.
Merge pull request #1674 from opf/fix/empty-comments-validation

Require comment text on overview/activity.
Use sane default sendmail options

mikel/mail uses some standard sendmail options, which we should also
use.
They can always be overridden in configuration.yml or appropriate
environment variables.

see:
https://github.com/mikel/mail/blob/1caf1b83c112ac7df2c7d95c3aa4d5604857235c/lib/mail/network/delivery_methods/sendmail.rb#L43