Rotate device screen action

This patch includes a new screen action called 'Rotate device'. Very useful for getting your tests to run in the right orientation. Also good for testing device rotations. Options are "landscape" or "portrait".

We should also consider adding an initialOrientation key to the config file and running this action automatically if the key is present.