Moved the examples/ directory to doc/examples/.
Added the contributors list to the README.
Added a note about doc/examples to the README file.
Adapted the contributed example code to our coding conventions.