Validates bool values in yaml for node settings

- Added parseBooleanExact in booleans which throws exception in case of
  parse failure
- Used ParseExact in static's to make it consistent

Closes #8097 
This can be replaced with

```java
boolean isFalse = isExplicitFalse(value);
```

to simplify and not duplicate the logic