HBASE-2564 [rest] Tests use deprecated foundation; fix an intermittent problem with TestStatusResource discovered on local Hudson