Exclusive: Civil libertarians are cheering federal judge Richard Leon for his ruling against the NSA’s massive surveillance program and that’s all to the good but Leon’s route to the bench followed a twisted course of partisan investigations and one historic…