Fix Elixir `mix` detection

Detection of a mix project was not very robust. I refactored some code out from haxe.vim and am using it in elixir.vim as well to find out if the file we are in is part of a mix project.