Add an explicit test for handling a NULL array in dbus calls.
Update dbus code generator to allow for empty lists for type 'as'

This drops the != NULL check for NULL terminated arrays and moves the
iteration loop inside an 'if' statement.