makes AMD/CommonJS compatible, replaces bin with dist
bumps to v0.3.2