Correct draw order for frame tree layers
Implement compositor layer occlusion; clean up
auto merge of #758 : eschweic/servo/comp-clean-up, r=metajack

Reorder layer tree construction, implement layer occlusion, and general clean up.