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!
This is not very useful documentation since I can generate that for every interface.

So gives us a bit of feedback what the purpose of this class is.