Fix urlquoting for user profile URLs (#850)

Cleaned up the profile view a bit.  Renamed the function from activity
to profile.  Made the user_id parameter mandatory -- I'm pretty sure
we always were passing it.
Merge pull request #1185 from pculture/gh-850

Fix urlquoting for user profile URLs (#850)