add redis implementation for Quota
additional quota testing and bug fixes