Config parser for basic ini files.

Signed-off-by: Tanel Dettenborn <dettenbo@cs.helsinki.fi>