added serendipity_smart_show-function to core, as it was used in multiple places like plugins and templates
proof-of-concept .js.tpl: Added fallback for serendipity_editor.js.tpl as serendipity_editor.js to default-template, and changed serendipity_get_file to react to .js.tpl-files in template-directories