Add a method for creating a full-stack GitilesServlet for tests Change-Id: Ieb4fc7c456492f6614535b49d30be73ec600b4b9