Merge pull request #135 from maraoz/feature/configurable-bundle

Customizable browser bundle
add index.js for node requires
add main in package json
Merge pull request #137 from matiu/feature/index

add index.js for node requires
fix postinstall script