Added a YouTube API test.

Also added response text logging for failed XHRs.
Capped the number of items shown by a test.
Removed no-longer-applicable code.

This code used to fix an issue that has been more properly fixed in InAppBrowser.