Use `files` property in package.json
Rename test file
Fix tests for latest Bower
Convert Windows backslash paths to forward-slash paths

Closes #40
Close GH-41: more sophisticated lookup for main.