return 404 if line_id or extension_id does not exist

Looks hackish mainly because I haven't had time to
continue cleaning the exceptions in the DAO
add missing steps for associating a user with a line
fix error messages returned by RESTAPI