Rebel army on the doorstep of Tripoli: Libya is on brink of civil war as anti-government troops surround capital and 'gun battles' break out in suburbs