Install Sphinx using pip instead of apt-get

The Travis build seems to be failing on a bug which has been fixed in
the 1.2.2 version of Sphinx that we currently use in production