fix broken console.log in ie8
omit type attribute in script tag to use fallback (text/javascript)
combine ie8 fix with debug check
Merge pull request #945 from owncloud/fix_app_management_in_ie8

since @tanghus and @DeepDiver1975 gave me their :+1: I'll merge this now: Fix app management in ie8