lib/topic.js: better assert message

Modified the message reported for an invalid topic name to include the invalid
value. This should help troubleshooting errors that are difficult to reproduce
on a developer's machine.

This is a part of my work on SLN-495. I'll need to release 0.0.6 after this change is merged.

@sam-github: please review.