There are more than 180 laws landlords must obey - and not doing so can result in paying huge sums back to tenants or even a prison sentence.