Implement SDL_GetRelativeMouseState

My first attempt at this; comments more than welcome! I'm especially unsure about how the test set changes are expected to look - for example, when to use 'result' vs when it is okay to use assert().