Fix ordering of entity revisions diffs
#433 [WIP] Refactored all uses of max revisions queries to joins
Merge branch 'develop' into feature/433-refactor-use-of-max-revision

* develop:
  #431 Fixed faulty "This remote entity has disabled access"

Conflicts:
	lib/AdminUtil.php
Merge pull request #434 from janus-ssp/feature/433-refactor-use-of-max-revision

#433 [WIP] Refactored all uses of max revisions queries to joins
Merge pull request #428 from baszoetekouw/fix-revisions

Fix ordering of entity revisions diffs
Merge commit '54f1f3942d6e6cd3719c25036cb86029b961d0e0'

* commit '54f1f3942d6e6cd3719c25036cb86029b961d0e0':
  Fix ordering of entity revisions diffs
Fixed issues found after testing #433
Refactor: Improve checking of required database parameters
Refactor: improve phpdoc
Added shutup operator on openssl_x509_parse to workaound: https://bugs.php.net/bug.php?id=66636
Bugfix: Silly Service, don't just stop adding metadata when you encounter an empty value, just ommit the empty value.
Bugfix: Default the 'add metadata' field to an empty name (so it doesn't end up overwriting the previous 'add required metadata' field value)
Merge branch 'develop' into feature/rest-api

* develop:
  Bugfix: Default the 'add metadata' field to an empty name (so it doesn't end up overwriting the previous 'add required metadata' field value)
  Bugfix: Silly Service, don't just stop adding metadata when you encounter an empty value, just ommit the empty value.
  Added shutup operator on openssl_x509_parse to workaound: https://bugs.php.net/bug.php?id=66636
  Refactor: improve phpdoc
  Refactor: Improve checking of required database parameters
  Fixed issues found after testing #433
  #433 [WIP] Refactored all uses of max revisions queries to joins
  Fix ordering of entity revisions diffs