added nearestColor.from

plus a bunch of comments
made nearestColor.js browser-friendly
added demo page
added repository field to package.json
made mapColors more lenient
added alternate palette to demo page
updated README