Docu
Replace isLoaded with isLoadable/isUnloadable

- implement isLoadable, isUnloadable for scripts
- introduce IsLoadedTrait
- change visibility of isLoaded, setLoaded to protected