Improve IEx autocomplete implementation

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
Optimize and also add completion for Erlang modules

Signed-off-by: José Valim <jose.valim@plataformatec.com.br>