[INTERNAL] TestSuite: make server-side reusable for test projects

Seperated CacheControl and CORS Handling from ResourceServlet

Change-Id: Ic04b60ce936a54f5ca0b064f9b569444604bc542
Merge "[INTERNAL] TestSuite: make server-side reusable for test projects"