fixed new scenario/phase creation bug (trigger was not setting id, resulting in Integrity violation)
Merge branch 'master' of github.com:modilabs/NeXT