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 isTrue = isExplicitTrue(value);
```

similar to the previous example