Fix/detach

- Add mutation observer polyfill
- Add tests for attached and detachedcallback