Fix header and footer formatting

* .el is required for package-buffer-info to parse the file correctly
* lexical-binding must be set on the first line, according to warnings issued in Emacs HEAD

(Background: I'm adding this to [MELPA](http://melpa.milkbox.net/))