Lazy rendering patch for RESTful web application.

I finally figured out the problem that sitespeed.io is not waiting for all requests in RESTful Web Application.

Inspired by https://gist.github.com/cjoudrey/1341747

We can test a RESTful Web Application now!