Change the way router handles page titles

Now every word gets capitalized without a problem and no length
restrictions.