Initial rate limiting code
Made pylint work for the test class
Refactored out method for running event loop until interupted
Merged in master