Improve searching migemo dict path

Fix: Some slashes are missing
Change: Order of searching path list and improve some code