New flask hooks
Minor: indentation
Added missing hooks
reduce log level for non-error message to info
wait for the cluster to be ready during tests

This change avoids a race condition when creating and dropping the
indices that can cause tests to fail with a message about no shards
being available.
Add Procfile to run test store on Heroku
Allow specifying custom config file, and add Heroku conf
Merge pull request #55 from okfn/missing-hooks

New flask hooks
Remove unused import
Fix typo in 'sort' query parameter handling

Thanks for reporting, @scharf. Fixes #59.
Coerce tokens to strings before decoding

In 551b4ac13e31b3861c1cd2d3aa3a76f5c1330799, I broke the tests by
upgrading to Flask 0.9, which returns unicode headers rather than plain
ol' Python strings. This commit fixes that breakage by ensuring that
anything passed to `auth.decode_token(...)` in the token field is
coerced to a string before decoding.
Bump version -> v0.10.0
Major PEP8/style cleanup
Fix incorrect order of auth and alias filtering

The logic used by `annotator.annotation.Annotation._build_query`
to expand the search to include document aliases and to limit the
search by authorization were inverted. The former assumed a
structure only present when the latter was active via the `AUTHZ_ON`
application setting.

This problem could cause information leakage. No release tags include
this problem.
Merge branch 'master' into develop

Conflicts:
	annotator/annotation.py
Delete unnecessary README change from master