Fix marshaling of the bool type

Native wrapper function parameters and return values that were
previously declared as bool are now declared as uint8. Managed wrapper
function parameters and return values that are declared as bool
are marshaled as uint8.

Fixes #1