move request event emit into the apiRequest method to call event made by external plugins like the slashme plugin.
bump version to 0.2.2
merging