Special casting for boolean fields when encoding to a QVariantMap
Special casting for boolean fields when encoding to a QVariantMap

- bool fields are decoded as uint types from a map
- "true" and "false" values are not supported
- Change the encode function to match the decode function

(cherry picked from commit 746e0d840f28ce28f9ecf942422aef272776256d)

billvaglienti/ProtoGen,billvaglienti/ProtoGen,billvaglienti/ProtoGen