fixed e.c. isogeny classes for Sage version 6.2+

Following a change to Sage around 6.2.beta1 in which some deprecated old code was removed, the output to the isogeny_class method for elliptic curves changed.  The patch should work with both older and newer Sages since it checks the version number.