Fix handling of boolean values

Gitlab expects an int (1 or 0) as value for boolean attributes.
Transform python bool's into int's when creating or updating objects.

Closes #22