Update IEx.pry documentation

Modified example that works with the current version of Elixir. Fix some typos in the pry console.
Merge pull request #2390 from benjamintanweihao/patch-3

Update IEx.pry documentation
Kill test process only after on_exit runs

We do this to avoid links created during the test from
crashing when the test exits which happened before the on_exit
callbacks run.

This was particularly troubling with GenServer, GenEvent
and Supervisor, in which the first does not crash when
a linked process exits with normal reason, but the other
two do. Due to this behaviour, before this change there was
a possibility of race conditions causing tests to crash on
on_exit.

In case the test process exits with a non-normal reason,
all links will be broken, so the problem doesn't manifest
in such cases.
Update Access docs, closes #2388
Remove previously deprecated code, enable new deprecations
Guarantee we get a keyword on mix deps specs
Improve function naming in `URI`
Make `URI.encode/1` to conform to RFC 3986