added dirs= option to machinefile parsing

See https://github.com/JuliaLang/julia/issues/7589#issuecomment-66887733 - this allows a "dirs=" option to each line in the machinefile. Handles n* properly as well, though it does require dirs= to be the last option on the line.