API handles not found objects with 404

Reports not found return 404 not 500

Test not found associated object in API v1/v2

not_found as a generic interface for 404s in API

Clean up ways of calling 404 in the API.
Return more informative messages for not_found.