The circular dependencies introduced in change 275382 as
we replace window.Plugin with import.
1. Move `sharedApiElement` creation and retireve to dom-util
2. Remove dependency on gr-plugin-loader from gr-plugin-endpoints
Change-Id: I6d3168937b04292aaac3664e207602f369da6edc