add a few asserts
NodeGui: setDefaultGradientColor must be called after initializing all gradients (may fix https://github.com/MrKepzie/Natron/issues/46)

see https://github.com/MrKepzie/Natron/issues/46