A.4.1.2 Enforce only one definition of macros and lookups

Since macros and lookups are an application global resource, they can only be defined once per application, however this was not previously enforced. Redefinition of macros or lookups will now result in an ApplicationError exception.