Added an inline script to ensure proper start order

The inline script stops the Selenium hub and node, then restarts
the hub and then the node. This is only an issue when provisioning,
the services start in the correct order at start-up time.