Integrate with linenoise.

That way we can have a history of commands ran across sessions.

Signed-off-by: Thiago Farina <tfarina@chromium.org>