tests: flushdb addition on setUp

* Flushes Redis database before running tests.  (closes #3)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
general: PEP8 improvements
limiter: optionally callable limit argument

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>