Gen. popup impl. #6, Cleanup, TinyMCE

* Cleaned up framework-functions.php; isolated extensions to seperate
file for clearity
* Reduced some output warnings
* Moved generic mediapicker implementation to seperate file (cleanup
nxsfunctions)
* TinyMCE editor; option type now has a label in front, and has 100%
width for the editor
* TinyMCE editor; removed the emoticons (quite useless)
* TinyMCE editor; link feature now works in the generic implementation
(still some localization issues to do)
* TinyMCE editor; now supports multiple instances within the same popup
* GetContent webmethod now delegates rendering of popups for widgets to
generic popup plugin, if popup implementation is not found within the
widget itself, is used for generic features like medialink, tinymce
features)