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.
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'
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
Merge pull request #928 from jd-erreape/master

Refactored some class methods to scopes in order to achieve a better 'Rails way'
Merge pull request #926 from netzpirat/fix-s3-images

Don't append the base url to absolute image urls without protocol.
Merge pull request #922 from ZogStriP/keep-french-l10n-up-to-date-2013-05-29

[ci-skip] keep French localization up to date
Merge pull request #931 from ZogStriP/more-file-upload-test-coverage

added more file uploads test for better coverage