Misc formatting
Fix and simplify color generation

First, it needed to use the value `$color` rather than `color`, but more
importantly it needed to differentiate between House and Senate and
Democrat and Republican.  That logic is too complex to put inline, so
I've moved it into a helper function (that should probably be extracted
for testing).
Remove session from the URL pattern