Fix Misc.canonicalize_filename

Previous implementation was failing to go back to parent directories
vim: increase .merlin lookup depth

Increase arbitrary limit of looking up to 3 parent directories when
searching for .merlin to 10.