Added settings, an event, and a double request blocker.

- Added settings for async and cache.
- Added double request blocker.
- Added beforeRequest event.