[#openproject-docker related] Made it work in refactored state

- Added foreman to control what processes need to be run in different
  environments
- Added Procfiles for development and production
- Added support for environment variables in configuration.yml.example
  (to dynamically detect how to connect to memcached)
- Reverted configuration.yml.example untouched
  instead created configuration.yml.erb.example
[fix #4928] Made journal notes shown in search.

- Added tests and specs for bug #4928
- Examined bug
  - Added debug output to examine event contents
  - Examined journals
- Added highlight_first helper
  - Used last_journal instead of #journals.last
  - Fixed Journalized#last_journal to work when eager loading messed up search
  - Fixed how journals are sorted when they are loaded (by version instead
    of created_at)
- Added notes anchor when required
  - Added notes anchor when required
  - Note anchor uses version of journal note itself, not version of work package