Fixes to fileManager plugin

Need to pass jWysiwyg object through to fileManager.
Also adding handling for baseUrl so that full url is returned.