constellation blocks on compositor before sending permission to paint to renderers
refactored for more code reuse in constellation
auto merge of #638 : tkuehn/servo/master, r=metajack

... renderers