Add package.json to example dir to make it easier to run.
Add deps for running examples to devDependencies, fix bug with duplicate text parameters. (temporarily turn logging back on.)