add exception hierarchy

FREDError becomes FredError, FredHttpError, FredAuthenticationError to
distinguish different types of exceptions.