Correct main module filename

The `main` property in package.json had the wrong filename.

Also changed to `require('../')` in test file so that NPM goes through package.json to find the main file.
Merge pull request #2 from Springworks/fix-module-loading

Correct main module filename