Alerts#index and more cleanup

All tests passing, added hostname validation to pingmonitor and expanded alerts#index.