OC6 compatibility

I ran into problems using editdoc in OC6. This PR moves th tinymce code to the js/css vendor folders, allows installation in an app dir other than `apps` and fixes a js error that prevents further js execution in OC6.