Fix issue #4315

Should fix issue #4315.

Added regex matching to Config.getXXXConfig() by using Pattern.compile().matcher().find() for the wildcard search. To not break the old documented wildcards (just * not .*) there is a replacement before.

Added tests to test old and new wildcard behavior.

TODO: Check if `InstancePermission.implies()` breaks with the new matching algorithm!
Is wild card matching only done on one '*'

Can't it be 

j*vapro*gram*mer