Add name and version attrs to package.json

Fixes #1074, which occurs when node versions less than 0.10 are used