Hide to initialize steps of `CompositorTask` from Servo `main` fn.

This hide initializing steps of `CompositorTask` to make it easy to handle variables which related to compositor code.

Related: #1351.