Functionality to re-register appium with grid.

Currently when the grid goes down, appium nodes need to be manually restarted to register with grid.
This fix will add functionality to make appium re-register itself once the grid is up (similar to the behaviour of selenium nodes).