setuid safeness - ensure if an app that is setuid doesn't do bad things

Backport from commit b95ef3801f9719a8f8ff731e25d66a8d1dd417cd
on https://git.enlightenment.org/core/efl.git
win build - check for pause func and use only if its there

Backport from commit f28f75658440aea136689c3e98645003e51d36dd
on https://git.enlightenment.org/core/efl.git
fix warning about always true expression

result is a DWORD and DWORDs seem to be unsigned thus always >=0 thus
the check is useless clutter.

Backport from commit 90afc354f7c4ab95c453f9bf9a4d18cd9155d356
on https://git.enlightenment.org/core/efl.git
windows build - comment out unused function in ecore_pipe

Backport from commit c3d6a1478fb275e14525e94bd144b40af6bbe9d6
on https://git.enlightenment.org/core/efl.git
Add proper function checks
fix race condition when using ecore_main_loop_thread_safe_call_sync.

Backport from commit 30d7779178d8b961004dabae6b0ed682f6889e97
on https://git.enlightenment.org/core/efl.git