Added pyreadline dep for systems without readline. Readline import has been moved to compat from assuming the stdlib readline