Code refactoring of codesnippetgeshi:

* Use writeChildrenHtml.
* Code-style.
* Added sample.
Code refactoring: minor fix in codesnippet dialog.
Removed lib directory from codesnippetgeshi plugin.
Code refactoring: restricted number of languages in codesnippetgeshi sample.