ELPA compatibility

- add file header
- add provide form
- add footer line
- add autoload cookie to qdb function