Fixing issues with Json based plugin api for package repo.

Introduced stub package definition service to fixed package_controller_spec and admin pipelines_controller_spec failing. PackageMaterialMetadataLoader modified to listen to plugin change events for GoPlugin class. JsonBasedPackageRepositoryExtension handles empty response for latest modification since call.