Code clean-up and refactoring

- removed redundant WebExtension.ParserResource class; used WebExtensionResource;
- simplified WebExtension class's constructor.