Fix file header for ELPA compatibility

Make header compatible with ELPA, add some autoloads and remove
whitespace characters.