Parse settings file in one pass and make pairs of key:vale
get value of key from a given config file

port from Philz source code

add skip md5sum generate && skip device info check functions

Signed-off-by: sndnvaps <sndnvaps@gmail.com>