Fix #108, return 404 in last build view

If a project does not exist or is not in permitted projects the view
should return 404
Merge pull request #109 from frigg/issue108-last-build-private

Fix #108, return 404 in last build view