Add trailing slash when tab completion directory symlinks
Pry 0.10.0+ automatically saves history

Keeping the fallback path for 0.9.x.