removed t and f 's from group model

removed t and f 's from user model as mentioned in #919
removed t and f 's from group model

removed t and f 's from user model as mentioned in #919

removed t's and f's from category model
merged postgres improvements
keep French localization up to date

:fr:
remove hardcoded value and replace with SiteSetting.cas_domainname
refactored and tested AvatarLookup

less array copying

Avoid N queries
Don't append the base url to absolute image urls without protocol.
Extract InviteRedeemer from Invite
Refactored two class methods into scopes (to achieve a better 'rails way')
Also added some tests to the methods
Merge remote-tracking branch 'upstream/master'
Only pass searchContext type, id in search request
Merge pull request #929 from chrishunt/chrishunt/fix-category-search

Only pass search context type and id in search request
For 403 errors, show the same html page as 404
fix wonky logic figuring out host name
Revert "fix wonky logic figuring out host name"

This reverts commit 114fcb473459dfa4ce262ad2ee99646e4ec2a779.
fix very wonky logic around hostname calculation
Added suggestion to reload nginx
Merge pull request #930 from nicksahler/patch-1

Added suggestion to reload nginx
added more file uploads test for better coverage
Merge pull request #901 from xtream/master

Refactored AvatarLookup