NSS/NSPR, scroll fixes, texture upload fixes, and hit testing

r? @metajack

duplicate of pr/494 -- amended authorship of hit testing commit