sort pages by stars_count when listing starred pages (refs #4193)
added prototype_ujs (from prototype-rails) to make data-method="post" stuff work
Merge pull request #11 from Crabgrass/bugfix/4193-order-by-stars

sort pages by stars_count when listing starred pages
Merge pull request #12 from Crabgrass/bugfix/4212-logout-link-doesnt-work

fix logout link
This was setting params[:redirect] to be an empty string, and I think we only want to pass redirect if there is something there.

This setting will indirectly lead to the user being redirected to the dashboard on login:
https://labs.riseup.net/code/issues/4144
Another tweak to avoid errors if version is nil, but not sure that version should ever be nil
An improvement to removing a destroyed user's relationships.
Merge remote-tracking branch 'riseup/develop' into develop