Remove code for dynamically loading a trace library

No code exists within the project for building such a trace library.

This also fixes building on OS X with -Wno-deprecated-declarations
removed, since this code contained calls to deprecated functions
within #ifdef MACOS, which now are enabled when building on OS X.
Remove unused defines of __FASTCALL
Remove duplicate defines

These are defined identically just a few lines above.
Remove some unused macros
Move the definition of WELS_ALIGN out from the #if

Both versions of WELS_ALIGN are identical, so there's no need to
be able to switch between the two.
Remove an unnecessary define of inline for APPLE_IOS

The standard inline keyword is supported just fine when building
for iOS, there's no need to define it there.
Bundle all MSVC/GCC alignment macros together

This reduces the number of lines spent on having the same
ifdef conditions over and over.
Clarify ifdefs around implementations of ENDIAN_FIX
Remove a duplicate median function

The decoder used WelsMedian while the encoder used WELS_MEDIAN.
The former has two different implementations, WELS_MEDIAN was
identical to the disabled version of WelsMedian.

Settle on using the same implementation for both decoder and
encoder - whichever version of the implementations is faster
should be used for both.
Merge pull request #204 from mstorsjo/remove-dynamic-load-trace

Remove code for dynamically loading a trace library
Merge pull request #210 from mstorsjo/cleanup-macros

Cleanup the common/macros.h header
Merge remote-tracking branch 'upstream/master' into travis.osx