tests: Add tests for GApplication local command line handling

Add various tests which override Gio.Appliction.do_command_line and
do_local_command_line.

https://bugzilla.gnome.org/show_bug.cgi?id=690851