Generate .info and dir files

See issue https://github.com/milkypostman/melpa/issues/561

This generates .info file and a dir file. For example, when run with magit, it generates a .tar file that includes these files. The code assumes no packages are available that are just a .texi file.

I'd really appreciate your feedback, I'm not familiar with the package-build.el code.