Make the InvalidAgentInterval configurable
Pass the missing BLOCK_INTERVAL_MS to the ip_record
Check for blocks against the right interval
Make the now() function configurable to facilitate testing
Copy the retryAfter function from email_record.js
Add unit tests for ip_record.js
Merge pull request #7 from fmarier/ip_record_tests

ip_record tests
Make the now() function configurable to facilitate testing
Copy the retryAfter function from email_record.js
Move allowed actions to an array

This is similar to how it's done in `email_record.js`.
Add unit tests for ip_email_record.js