Add a chrome and XBL accessor for the sandboxed scripts flag to Document WEBIDL. This also includes changes to use the new function instead of getting and checking the sandbox flags in most places.