b2g build patches. mostly from b2g 316979186d5b91fdfc450b0d709cb80a1ece2b78. also disabled modules fixed for cm10 tree.