Australia's treatment of asylum seekers has been condemned in a parliamentary report, detailing allegations of negligence and abuse.