Added two new methods to RequestContext.Accessibility:
- public String displayName(): returns the display name for the enum constant. - public static Accessibility valueOfDisplayName(): like Enum.valueOf(), but for the display name.
TRINIDAD-2203 - Move the suspension and resume code into the setup/teardown of UIXDocument, HtmlHead and HtmlBody so that the re-entrant call does not cause false errors in testing mode since the context change stack is going to be suspended.
TRINIDAD-2203 - Add checks with exceptions to UIXComponent that is only performed while the project stage is in unit testing mode to validate that components enter visiting and encoding context only once. Includes code to check the stack trace of the initial call to make it easier to debug when calls are incorrectly made