Limit the project cache size.

Just in case we have thousands of projects in the distant
future.

Change-Id: I9cd4379a6b6c24d5f5bf7f5cbc01cf9f87c4ce95
Merge "Limit the project cache size."