Changed create policy in dialogs to fix memory leaks.
Sometimes it is not necessary to include the whole Cutter.h file Hence, it's been splitted so you can include only what you require E.g. #include "core/CutterCommon.h" to have access to the common types
Refactor CutterPlugin::setupInterface() and fix C++ sample