feature #561
Revert "fix for timezone php error"

This reverts commit ba410f30ea4e057061bc717f6b2c7eb9222778b2.
timezone php error fix again
moved EDOPTIONS position

moved toolbar and edoptions to bottom of config, so they can override
all config options.
fixes #565
added global cke $EDOPTIONS
Changed autosave to non draft

drafts are no where near implemented, we should at least make autosave
usable until then.
fixes #407

api changes
implementing curl timeouts default 500ms
curl opt NOSIGNAL
added api debugging

added config directives
+ $apitimeout = 500; // milliseconds to curl and fopen timeouts
+ $debugApi = false; // output debugging info to debugLog
+ $nocache  = false; // do not use cache
+ $nocurl   = false; // do not use curl

changed static urls to config

added fopen check to avoid some errors when not available as fallback
added github link to support
feature #568
upload whitelists

added arrays
$mime_type_whitelist;
$file_ext_whitelist;

can be set globally or added to configuration.php

If EITHER arrays are set blacklists will be ignored.
more fixes for #407

verbose curl logging
cleaned up logging
temp minor fix for #573
Merge branch 'hotfixes'

Conflicts:
	admin/edit.php
	admin/inc/common.php
	admin/inc/template_functions.php
	admin/template/js/ckeditor/config.js