Hierarchical fragmentation and differential star formation in the Galactic `Snake': infrared dark cloud G11.11-0.12