Changes Query#noCache so that it propagates to reference resolving queries.
Deprecates Database.Static#isIgnoreReadConnection and #setIgnoreReadConnection and replaces them with Query#master and AbstractDatabase#openQueryConnection.
Adds ForwardingDatabase#filterQuery and #filterState to ease certain implementation of types of wrapper databases.
Adds the ability to resolve invisible items.
Fixes a couple of places in SqlDatabase where it was using #openReadConnection when it should've been using #openQueryConnection.
Adds State#getRealDatabase for when you need direct access to it rather than the calculated value via #getDatabase and changes Query#fromType to use the new API.
Adds State#isVisible API.
Fixes Query#clone not copying all fields.
Changes State#getVisibilityAwareTypeId to use the trimmed and lowercased value to calculate the ID.