Expand emacs path

1. Executable path for emacs is expanded by using external program.
2. --with-emacs defaults to $EMACS

This simplifies tox.ini.
This PR is based on #2