Clear command line elements

The internal command line is parsed into an array. The array is freed
when it's no longer needed; but this will only free the pointer held by
each element, not the strings. Add a GDestroyNotify function that will
free the parsed strings as well.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>