Refactoring of plugs and types for safety of access to PlugIn::type()
- PlugIn::type() returns const types
- Added cloning capabilities to types
- Standard type base methods declaration using macro TYPE_BASE_METHODS()
- Fixes in some gears that were's accessing plugins safely
Added -O0 to debug mode to get easy on valgrind