Add user as global Twig var so pages properly render top/nav bar.

A number of pages were not including the Sentry user which when clicking around resulted in it appearing as if one were randomly logged in our out depending on the route being hit.  It probably makes sense to just give all templates access to user.

Commit also contains a trivial bug fix PHPStorm caught.  If you'd like this in a separate PR @chartjes, let me know.