Canonicalise …/~ to ~/

Just getting ‘~’ is fairly useless, we pretty much always want ‘~/’.
Canonicalise mini-buffer as user types

In the past we could type things such as ‘//foo/bar/~/baz’ and while Yi
would internally shorten it as ‘~/baz’ by first turning it into
‘/foo/bar/~/baz’ and then ‘~/baz’, this was not reflected it where the
user actually sees it. Now, we canonicalise at the same time as getting
hints about the input which happens with every key press.
Merge remote-tracking branch 'fuuzetsu/homeshort'

Conflicts:
	yi/src/library/Yi/Misc.hs