Finishes initial version of the PatternReplaceFormatter.  Adds some unit tests.  Starts expanding NotificationContext to incorporate the NotificationMontiors.