Make compatible with `package.el'.

Add neccessary library headers and alter formatting to provide package metadata that `package.el' requires.