Don't require to explicitly pass the api key when using the AgentCheck.event() method

Fix #301