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.


Did some quick checks locally - but would like to test against staging.