various chages

client can use instance name as its client name
measure memory rss and swap via cgroup
delete work directory if it already exists
client log directory name changed to "client"
extended clientgroup name valid characters