bindings: Fixed support for C++ instantiating objects from eC
- Opted to replace defining PSELF macro by extra parameter for set/get macros
- Tweaked SELF macro to include a 0x10 offset to avoid offsetof warnings on older MinGW/GCC
- ecs: Fixed both eC and C++ source files in the project (Using eC .main.ec main definition in that case,
but not re-creating Application object; Defining __thisModule in eC.c for C/C++ only module)
- ecere/com/instance: Added eInstance_NewEx() with extra parameter to specify whether bindings construction still needs to be done
- Added 'bindingsClass' member to Class to use for bindings instead of data (Windows do make use of 'data' for class_data); Fixed class definition of Class and BinaryTree
- Commented out conflicting _strtoi64/_strtoui64
- Fixed enum declarations on non-C++11 (though the code still uses a lot of C++11 only features like constructor delegation)
- Fixed MAIN_DECLARATION to be 'extern "C" to work on older MinGW/GCC
- Overriding new and delete to able able to link without STL
- ecere/com/dataTypes: Fixed const_ness of Print* functions's typed_object parameter