Initialize rl_helper and feed it
Remove cmd_prompt

We don't need cmd_prompt anymore. It is handled by rl_helper.
Replace printf with rl_helper version

To make a better visual interface, we need to handle printf calls at
rl_helper.
Remove any break line at start of printf calls

We don't need to break line if are at start of it.
Fix code lines too long

After we replaced printf by rl_printf, some code lines doesn't fit in 80
chars anymore, so we need to rearrange these lines and fix any code
style issues.
Format state in string before printf it
Format string message before print it at parse_ad_data