fixes #3246 - printing id and names of created resources

- output turned back to an object
- print_message now takes the message and arguments, which is the created/updated
  resource in case of write commands
- csv output adapter check if there is name or id available and prints it
Merge pull request #53 from tstrachota/messages

fixes #3246 - printing id and names of created resources
Refs #3035 - Add smart class parameters
Merge pull request #52 from mbacovsky/3035_smart_class_params

Refs #3035 - Add smart class parameters