[FIX] ir.qweb: rendering non-string attributes could cause unicode errors (Issue #282)

This occurs because werkzeug.utils.escape() auto-casts
non-basestring values to unicode, while we expect to be
working with bytestrings only.
So when evaluating attribute values, make sure we always
return bytestring values, never int, bool or unicode.