Redo of _pov and _direction functions, the direction one does now return a
numpad constant, same for Linux, same for Windows, compatible with GM, and
overloads to let you calculate it for more than just the X,Y axes. Also
overloads joystick_pov to allow you to calculate the pov for axes other
than just X,Y