devtools: implemented getResourceContent

- at this point all scripts and their content are shown in devtools