Changed usage of next_key with next_line. Further, renamed function, and
its usages, to readLine. 

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>