Made getServlet and getPortlet public (#10882)

This change enables developer to get a reference to the VaadinServlet/VaadinPortlet class without using thread locals (#10882)

Change-Id: I7cb87b6ddb6f2ac3c46f7652a807363b336cdc4e
Merge "Made getServlet and getPortlet public (#10882)"