flask-reloader: slight refactor, added tests, included in README