fix friendship request; bypass act-via-ajax, use rails remote button_to instead
refactor inline js to create.js.haml
move @text inside format.js{}
Add missing test for change_profile_photo method.
Replace some hard-coded values in tests.
Merge pull request #228 from t-bullock/tests-cleanup-rails4

Tests cleanup for rails4 branch
merge
Merge branch 'jsh-c-fix-friendship-request' into rails4
Fix possible crash on user admin page.