moved testDBAgentSQLite3::executeCommand() to Helpers.

The function executes the command ant returns the standard output.
It can commonly be used. So we moved it to the file: Helpers.cc that
provides utility functions.