Added setBoolValue and getBoolValue so param can be evaluated when neede...

Just a simple boolean addition to config parsing so one doesn't have to validate integers inline when bool is expected by method. 

When using getBoolValue;
Param is parsed as a string and then checked if it contains true or 1, if it does it will return as true otherwise false. Reason for 1 is that sometimes user may manually edit a config file and instead of true they may set it to 1 and expect same result. As both is perfectly valid, function evaluates both possibilities. 

setBoolValue;
Simply sets true or false (as string) to desired param.  

NOTE: This could easily be done at the top layer using integer and evaluating, but that produces inline if's/extra vars and somewhat ugly code, imho it's cleaner to have this at the baseline.