Add main field to package.json

Since the main file is created by the generator it should be put into
the package.json.  Fixes #14