Fix for new SPOJ location.

- use new spoj URL
- improve the test program
- better resolution of the result statuses