Add player.getDirection()

This is useful when you want to build something in front of the player.
The method was only implement in the Python version of mcpi, feel free to update the Java version to implement it if you want to.