Uganda's Parliament officially adopted a bill that punishes "aggravated homosexuality" with life behind bars.