added a short sleep to startup/shutdown in xApp class
renamed variable cl to jcl in xPluginManager
renamed trim() to trims() and reversed parameters
rewrote trims() to accept unlimited arguments