On Friday, an appeals court handed Oracle a surprising win in its years-long lawsuit against Google and Android, overturning a lower judge's ruling …