remove unused imports, injections and annotations
Extract builder and states class from FilterConstraints
Use ActiveStates in search and navigation actions
split TextFlowDAOTest.canBuildContentStateQuery() into more atomic tests
split TextFlowDAOTest.canGetTextFlowsByStatus into more atomic tests
Revert FilterConstraints includeStates(ActiveStates) to old behaviour

    Old behaviour was to flip all states to on in the case that they
    were all off. The change should only be temporary since it is
    surprising - some changes to the code for the editor are necessary
    before this can be made more sensible.
disable mysterious breaking test in TextFlowDAOTest
protect some wrapped builder calls from automatic formatting
clear database before starting TextFlowDAOTest
Merge branch 'master' into refactor-filterconstraints
User Registration tests

Currently, successful registration testing is blocked by Captcha validation.
Includes register page, and testcases for field validation on usernames and
email RFC2822 compliance.
Basic validation for password matching and Captcha rejection.
Better description of the RFC2822 class

The description was lacking / inaccurate.
Rename ActiveStates to ContentStateGroup, rename methods and move to gwt shared.

    Move to gwt includes a few minor changes to allow gwt-rpc serialization.
prevent TextFlowDAO from conflating states in queries
Make RFC2822 and username tests use Theories rather than loops

Control functions (for, if, etc) in tests are bad. The (experimental) Therories
class looks to handle data based tests quite elegantly.
Move username and email validation to separate classes to test.
Also, fix minor bug in GlossaryTestSuite (database reset rules) and
give the Register tests a waitFor for the fields/errors to become visible,
to prevent element stale / not found problems.
make editor request all states when no states checked in UI
prevent server returning all states when none are requested
prevent TextFlowDAO returning all states when none are requested
move rule for requesting all states when none are checked into context class
Improve the RFC2822 files to be more descriptive and clean

Split email addresses into valid and non-valid.
Use an enum for the address entries.
Improve docs.