Moved Page and Query match to PluginsManager

- Moved Page and Query matching to PluginsManager
- Added IsLoginRequired, RunOnPages, RunOnPageQuery variables to
PluginMetadata model
- Fix ResourceCalculator duplicate issue