Add value check for all properties expecting boolean

Since all JavaScript value are either truthy or falsy there is no need
to raise any exceptions, just convert to boolean.

Change-Id: If69cf31f425fbb6e775579bc95868e56e2120636