- added debug message to get identities to display total returned
- improved some debug messages
Merge commit 'ad25b74' into 20130408-javascript

* commit 'ad25b74':
  - improved some debug messages
  - added debug message to get identities to display total returned