add support for delaying mockdb
Bypass the event loop for records
update debug module, bump version to 0.5.1, add delay support, remove json stringify