Change conf.py to use RTD theme if available

This solves issue #558.