return 404 if app cannot be found during queryset lookup, fixes #182
Merge pull request #191 from opdemand/app-endpoint-500s

Return 404 if app cannot be found during queryset lookup