Added Ajax support and test method to VarnishAdm tab
+some code cleanup