Clean up parse() by splitting into help function
Clean up parse() by splitting into help function

Moved the actual parsing of the file into an internal help function,
leaving parse() with mostly preparing for the opening of the
.hconf-file.

Signed-off-by: Frida Flodin <ff857b0d3de7ab66a379b61924cd8bf58e81be7b@cendio.se>

astrand/hiveconf,astrand/hiveconf