Append ghost.sleep method

Append ghost.sleep method, to perform time.sleep like feature but with ghost._app.processEvents() call in loop