Raise 404 when ApiTeamDetails can't find a team

Issue: When a request is made to `/api/v1/team/details/` with an invalid/nonexistent team key, `ApiTeamDetails` raises and exceptions but still returns HTTP 200 OK.

This pull request rectifies the issue by raising an HTTP 404 should no team be found.