Fix unicode errors in objectbrowser form

Several places in objectbrowser forms have string formatting
in the form of "%s" % variable which is subject to UnicodeDecodeError
when variables contain non ascii character.

We workaround that by calling smart_str() around dangerous variable names.

Fixes #404