Support for auto swap.

Fixes #1339
It would be great to make this generic enough to address this [issue](https://github.com/projectkudu/kudu/issues/1287) as well?   Simply return the last status file (json) as response.