Bug 895222, improve skippability optimization for nodes, r=mccr8, a=drivers

--HG--
extra : rebase_source : 9e281db2842c078b4ba60ca95a393a49cc8cf850