Phase detail pages now show proper 404 errors

Missing phases display a clean 404 page instead of a generic error.

Bug Fixes

When you try to access a phase detail page for a phase that doesn't exist (or has been deleted), you'll now see a proper 404 error page instead of a confusing "This page couldn't load" message. This applies to estimate, inventory, and work-areas tabs.