Added GetCursor() function

I have added a way to retrieve the current cursor position. This is useful for example to move the cursor relatively to its previous position.