adding id attribute to limit for rate limiting
Merge pull request #4 from mwhahaha/rate_limit_5.x

adding id attribute to limit for rate limiting
Fixing minor logic issues, adding spec tests, updating README with testing