Closes #42 Fix CKEditor browser and upload

Allow for CKEditorFuncNum being 0 in later versions. Remove upload URLs
as they do not have the necessary support in the controller.
Closes #43 Fix SQL errors on upgrade