Add `#without_feature` helper
Move feature helpers to own module

means that they can be included separately in mailers
Obey token_auth feature flag in inadequate_profile email

We generate the appropriate URL in the ReminderMailer, depending on the
feature flag.
Add test coverage for information_request mailer
Obey token_auth feature for information_request email
Disable token auth functionality if flag disabled

attempts to use token auth when disabled will result in redirection to
the login screen with a flash message saying that it has been disabled.

The token auth input box is removed from the login page.
Rubocop style
User update emails obey token_auth feature flag

If token_auth is disabled, emails will be sent with the full person url
instead of the url containing the token auth.

Also added unit tests for the UserUpdateMailer to test this behaviour.
Add documentation about disable_token_auth config setting
Use elasticsearch#refresh instead of sleep

By default elasticsearch does not commit data to its index immediately.
Instead it is held in memory and periodically flushed to the index.

However it is possible to force the data to be in the index immediately
using a 'refresh' command[1,2].

[1]
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-refresh.html
[2]
http://www.rubydoc.info/gems/elasticsearch-api/Elasticsearch/API/Indices/Actions#refresh-instance_method
A helper method to enable html page titles
Accessible page titles for error pages
Accessible page titles for profile pages