Changed tests to adapt to new testbase (com.polopoly.testbase) module. Also fixed broken pcmd script, added a pcmdDebug script that enables easy debugging of pcmd tools and changed the CmClient initialization to support Http and Ejb depending on connection.properties