Bug 5036 - Grappling hook does not load trail shader, patch by Zack Middleton

(cherry picked from commit 45f576bd993950649f3e00e986da680b6c0e258a)
Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in widescreen, patch by Zack Middleton
See fa3b3978f6
Fix forgotten IQM2 support in iqm.h, patch by Zack Middleton

(cherry picked from commit c2b7f5173f9c6ce50a81c56f2e9324a3b19eadea)
Add static SDL libraries for compilation with MSVC
(cherry picked from commit 471182cba0bba4d489b139b352e4f2b879700246)
- Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 mode
- Clean up ftol()/snapvector() mess
- Make use of SSE instructions for ftol()/snapvector() if available
- move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions
- Set FPU control word at program startup to get consistent behaviour on all platforms

(cherry picked from commit 03201aff225d7776b6dc690753ddddf97c72963b)
Fix forgotten deletion from previous commit
- Fix macro that uses constant float suffix as argument
- retval variables in ftola.c must have type long, not int

(cherry picked from commit bb8f40531b88b499497bff73ba385b044ecce01d)
Forgot the inline assembler parts, here they come! Using inline asm to get rid of all the boilerplate stuff

(cherry picked from commit 04821a529d6f9ab6084194564a08131d6db478d6)
- Still forgot qasm-inline.h
- Leave GCC more freedom in choice of registers

(cherry picked from commit 206edd341915a4a6f13ab7e9605efa54c4e9f1e8)
- mingw64 now links against SDL64.dll to allow for 32 and 64 bit version in the same directory
- Add library files for MinGW64

(cherry picked from commit 001cdf449714fd17c19bc86d766dfd06fb97c553)
Fixed bad merging of fa3b3978f6
Fix #if macros for idx64 and id386

(cherry picked from commit a447aa82af45f9520f39bb221a52e8f5ee7b0448)
- Merge http://svn.icculus.org/tremulous?view=rev&revision=2185, patch by Chris Schwarz
- Remove Q_snprintf as Com_sprintf exists already

(cherry picked from commit f981087d7ab3aef8cb07d9111f4a6435571b0298)
Need space of len+1 for snprintf to work

(cherry picked from commit 1ff28b3b2ed7f33209b35128f00f9ed9e613cc00)
Updated related ioquake3 commit