Update documentation to use sphinx, setup hook to build on RTD