Fix/detach

- Add mutation observer polyfill
- Add tests for attached and detachedcallback
detachedCallbackFromGadget is called from the other file where the component is defined