add basic if/elif/else/endif to config file parsing #4211
this commit supports if conditions that are boolean, version
comparisons or whether a param is/isn't defined
===VersionHistory:Pending===