Move EyeFi code from gui.c to EyeFi module (simpler module interface and less code in the core CHDK).
Re-work of EyeFi code, and added some comments.
Fix incorrect calling of 'call_func_ptr' on OS/X with GCC 4.7.3.