bug 904893 - Snapped view testing r=sfoster

--HG--
extra : rebase_source : 870972071ae6eddf90e35179af8301f27476f5ba
bug 904893 - Splitting head.js into multiple files r=sfoster

--HG--
extra : rebase_source : fd5e076a9f7cc17e86e7303f73cdeb61a1810465