Selection and evolution of aggregation resistant proteins