fix for static builds with mingw-w64 compilers - part 1
fix for static builds with mingw-w64 compilers - part 2
Makes joystick button ordering predictable.

Fixes unpredictable or unintentional joystick button ordering by sorting
buttons according to their HID Usage property.  This allows SFML to
adhere to a manufacturer's (or driver implentation's) intended button
ordering.
Fixed the repeated keys detection algorithm on Linux
Fixed computation of the alpha channel in sf::BlendAdd
Changed Texture::bind and Shader::bind to be static functions, that can accept a null argument
Fixed minor typecast warning in Shader.cpp
Fix get/set window position on OS X
Fix compilation issue on 10.5
Improve Xcode 4 templates (close #285)

This is a complete rewrite.
Remove a part of CMake script that doesn't work any more.

No attempt to fix this part of the script is made because it change too
often (at each OS release) and no gain would result from a potential
fix.

SDKs are not stored in /Developer anymore with recent versions of Xcode.

Now the users should manually set the following variables :
 - CMAKE_OSX_SYSROOT,
 - CMAKE_OSX_DEPLOYMENT_TARGET,
 - CMAKE_OSX_ARCHITECTURES
Add freetype.framework and edit CMake accordingly. (Close #241)

Freetype version 2.4.11, build for OS X 10.5 and above as universal
binary (i386 + x86_64)
Improve Xcode templates post build script : now copy freetype too

Additionally, the script is more robust and can explain what failed.
Merge branch 'joybutton-ordering-osx' of git://github.com/ryanfields/SFML into fix/joystick
Improve Xcode templates : now you can target 10.5 without headache !
Removed unused #include
Minor indentation correction
Improved the API documentation stylesheet
Fixed joysticks not detected when checked at application startup.
Minor addition in the API documentation