Rename SpResult to ResultPtr

I think it's a clearer name.
Merge branch 'master' into fix-travis