Move lexical-binding declaration to the top of the file.
file-name-base: Add compatibility declaration for < 24.3.
Add and use ert-runner with multiple Emacsen.