Keep CJS and AMD output split in dist/.

Add `lib/` for ES6 output.
Merge pull request #132 from rwjblue/keep-builds-split

Keep CJS and AMD output split in dist/.