Fixes ReferentialText to remove annotations when finalDraft=true.
Adds ugc to list of abbreviations for StringUtils#toLabel.
Fixes CachingDatabase to return null on id lookups when there's a group constraint.

For example:

Query.fromAll().where("_id = 1"); // Article.
Query.from(Image.class).where("_id = 1"); // should be null but was Article before this fix.
Adds @BootstrapTypeMappable.

This provides the ability to map remote IDs to local IDs for types such
as Directory and ToolUser in the CMS, similar to how ObjectType IDs are
mapped.
Adds annotation @BootstrapFollowReferences.

This provides the ability to follow references to objects not included
in a Bootstrap export without having to export all objects of the
referenced type.
Bugfix for queries using multiple predicates including a Metric predicate in combination with limit/offset.
Adds doError and doForward to FrameFilter which delegate to doRequest.
Fixes bug introduced in ece7fba.

ObjectTypes should always be treated as "type mappable".
Adds CapturingHttpServletResponse.
Changes DebugFilter error reporting logic to better handle form post so that the errors aren't hidden from the user in most cases.
Fixes the return value from #onDuplicate trigger to correctly force the validation to be retried.
Fixes IllegalStateException when an object is of a class that used to extend Record and has access to State but doesn't any more.
Bugfix related to d91665a.
Changes CapturingHttpServletResponse to pass through #getOutputStream call.
Changes CapturingHttpServletResponse#getWriter to throw an IllegalStateException if #getOutputStream has been called like it's supposed to per spec.
Fixes ReferentialText#toPublishables to convert the last bit of text into a paragraph as well.
Forces the references in ReferentialText#toPublishables to be outside the paragraph tags.
Fixes last bit of text to be wrapped in paragraph when it's immediately preceded by a reference in ReferentialText.
Adds AbstractFilter.DependencyFilterChain#toString for easier debugging.
Moves HeaderResponseFilter to run before others that could possible wrap HttpServletResponse.