Fix for issue #1267: Allow leading whitespaces in openhab.cfg

This is the fix for issue #1267 which allows leading whitespaces in the openhab.cfg.
It also adds more debugging output for parsing of the config file.