Changed some functions from inline to static inline

This fixes inline build issues with clang.
http://clang.llvm.org/compatibility.html#inline
(cherry picked from commit 1d32894775edd1bacdbcb4b6c3e129841b637374)
Add missing config.h to types.h

Without config.h the various HAVE_* macros are not used properly and
this causes a compilation error on OSX Mountain Lion.
(cherry picked from commit e32f9ed4b811ba301022520122ea8dea70c65e57)
Register a RDP key file to have RDP security functionnal
Backported 026e9996d369a34966bd7ec33ebc41de2caf94e7
Merge pull request #1012 from hardening/stableFixes

backported changes on ber.c around 0x80 length
added a path to a RDP key file or the server crashes
Fix host fingerprint lenght in know_hosts file

The fingerprint that was written to the known_hosts file was
one byte to short. For hosts, already in know_hosts, a warning to
update the hosts key in the know_hosts is printed.
For new hosts the key is added with the right length.

Based on 495aba9
fixes #1007
kbd: set VK_DIVIDE extended

Fixes #811
Merge pull request #1098 from bmiklautz/stable-1.0

Fixes for 1.0.3