The complexity of Nash Equilibria, Local Optima, and Pareto-Optimal solutions