This pull request contains general improvements to the pattern parsing system.
Tidied up the pattern parsing logging system.
Added a warning when using a pattern such as the one described in issue #140 to notify the user of unwanted behavior.
Made it so that when a faulty pattern was created, it actually shows the error. Pull request #139 didn't actually solve the error at all. Due to the fact that the logger was closed after the registration of the default values, the new errors weren't added correctly.
The above also showed an oversight in the PatternInfos class, which was promptly fixed.
This pull request contains general improvements to the pattern parsing system.
Closes #140.