Use checkLoadURIStrWithPrincipal() instead of checkLoadURIStr()

Because checkLoadURIStr() are missing in Nightly
Skip missing nsIDragSession.sourceDocument

See https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIDragSession#Attributes
Inherit built-in dragDropSecurityCheck() behavior

See chrome://global/content/nsDragAndDrop.js
Ignore wrong URIs in securityCheck()

Example: view-source:chrome://browser/content/tabbrowser.xml
Open duplicated tabs from back/forward buttons as children of the current tab
Uncheck the disabled checkbox about animation effects if browser.tabs.animate is disabled
Reduce usecases of evaluateXPath()
Reduce usecases of evaluateXPath()
Fix broken XPath expression
Reduce usecases of evaluateXPath()
Fix XML syntax error
Fix syntax error
Fix syntax error
Add failsafe for unexpectedly stored tab attribute "tabbrowser-id"
Fix broken tree which can appear after a tab is duplicated as a child of the original tab
Remove TreeStyleTabUtils.Comparator.
Remove TreeStyleTabUtils.WindowMediator.
Remove TreeStyleTabUtils.PromptService.
Fix the order of parameters.
Merge pull request #373 from saneyuki/fix

Fix the order of parameters.