Bug 868265 - Make Attr and AttrMap skippable, r=mccr8

--HG--
extra : rebase_source : f8eb50631ac35abda47b3a00be1093a8197979ec
Bug 869026 - Fix GLContext::GetTexImage crash when GLContext::mScreen is null. r=jgibert