Re-added Line model to REST api
Fixed admin again and covered it with testcases

They're not future proof, however they'll keep safe existing admin classes