Some namepicker fixes and adjustments (re #88)

Fixes the problem with namepicked field values having quotes around
them. Includes the namepicked field in what is cleared after successful
submission of the form. That required a modification in
jsonresponse.py, which is for controlling jQuery client-side actions
from python on the server. Specifically, finding input fields by ID in
addition to by name. Hopefully that doesn't have any unintended
side-effects. Anyway, this should finish issue #88.
Some namepicker fixes and adjustments (re #88)

Fixes the problem with namepicked field values having quotes around
them. Includes the namepicked field in what is cleared after successful
submission of the form. That required a modification in
jsonresponse.py, which is for controlling jQuery client-side actions
from python on the server. Specifically, finding input fields by ID in
addition to by name. Hopefully that doesn't have any unintended
side-effects. Anyway, this should finish issue #88.
Re: #88 adding Atwho.js for @namepicker
Merge branch 'issues-88/94-notifications-namepicker' of https://github.com/new-day-international/reddit into issues-88/94-notifications-namepicker

Conflicts:
	r2/r2/controllers/api.py
	r2/r2/templates/messagecompose.html
Re #88 profile pictures in name picker

Testing it out in the message compose screen
Re #88 consistent formatting for namepicker

atwho and textext versions look more or less the same now
Re #88 real names, @namepicker

Consolidated textext and atwho js and css files. Fixed textext bug for
custom rendering. Showing real names instead of usernames for
namepicker fields. Added @namepicker to posts and comments.
Re: #88 multiple namepicker

Added a namepicker for multiple users in one field. Reworked the
datastructure for the user list.
Re: #94 Notify button and form

There's now a notify button for each post, with a form to notify a list
of users. It posts to POST_notify in api.py. It only works in a space
or in the comment screen, the namepicker doesn't yet work for it, and
it isn't properly validated yet. But it is a place to create some
actual notifications, by just typing in one or more usernames.
Re #94: Notify button namepicker and validation

Cleaned up the css of notify forms, added multi namepicker, and did a
more proper validation function for the data.
Re #94: Invitation to a space

Added the field in the right sidebar for notifying a list of people
about a space.
Re: #178 #88 Space name picker

Replaced the built-in space picker with the same look and code as the
other name pickers. Currently showing spaces the user is able to write
to. Only active for adding new items right now. To be added in more
places later. Space header images should be added too, when they're
ready.
Tweaked the size and marging of the user photos in item list
Added prompt to photo cropping dialog
Add another prompt to the preferences page itself.
Added red numeric buttons for notifications and messages
Intermediate checkin
Re #66 Profile editing

Just a regular commit, edding a tab in preferences for editing profile
info
Re #88: Namepicker Safari problem

I was loading the list of users & spaces asynchronously, which causes
some problems in some browsers, as the code that activates the
namepicker(s) might load before that list has been picked up. Turning
off the asynchronous loading for now, which shouldn't be much of a
problem, as it only needs to be picked up occasionally (once per hour
currently) and the list is small.
Re #182 #175 duplicate emails

This should fix the duplicate email notification and unicode problem. I
hope.