Add switch refresh funtion after page going back.
Fix servers panel height on host config page.
Fix switch API handling.

Change-Id: Iab0a42118cd4b78aac081968f3d8b5540daa98d3