Modal Dialog test

This patch is for https://bugzilla.mozilla.org/show_bug.cgi?id=906175, and is used to test our handling of gaia's modal dialog windows. This takes advantage of the existing Mochitest test-container app and uses it as an app sandbox.