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
Merge pull request #1 from purcell/patch-1

Fix header and footer formatting

Thanks!