NEW YORK, Aug 5 (Reuters) - A federal judge has rejected PricewaterhouseCoopers' bid to dismiss a $1 billion lawsuit claiming that its bad accounting advice helped cause the October 2011 bankruptcy...