added REST API for outages

added simples test REST API for listing outages