Moved compareDocumentPosition content test to proper directory
Update mozjs.
Don't call bind_to_tree when appending a node to another node that isn't in the tree (fixes #1874).
auto merge of #1934 : larsbergstrom/servo/rust_20140224_squashed, r=jdm

For review only - don't approve yet (need to squash and land submodule updates first). 

critic? @metajack
auto merge of #1925 : saneyuki/servo/1874, r=jdm

Fix #1874
Move attributes-related functions onto JS<Element>.