[WIP] move package build system to gulp (bug 1077585)