Use 'inline' instead of 'inline_t' in the processing lib

Just use the standard inline keyword with sufficient backwards
compatibility defines, similar to how it is done in the main decoder
and encoder libraries.
Consistently use inline instead of __inline
Unify the definition of WELS_THREAD_ERROR_CODE between libraries

This simplifies the code base, reduces the risk for mixups and
gets rid of the use of a local nonstandard typedef.
Use int32_t instead of long_t in WELS_SIGN/WELS_ABS in the processing lib

This makes them match the same macros in the main decoder/encoder
libraries. long_t (which is typedeffed to long) actually is 64
bit on 64 bit unix platforms, which might not be what was
intended.
Remove the now unused long_t typedef
Make the bool_t typedef in the processing lib match the others

There is no specific reason to use int32_t for this type.
Unify the declaration of int8_t within the processing lib with the rest

int8_t in general should to be defined as signed char, since there
are actual envrionments where a plain 'char' is unsigned.

This also reduces the differences between the typedef headers of
the different sub-libraries.
Use WelsSnprintf instead of SNPRINTF
Use WelsVsnprintf instead of VSPRINTF
Fix a typo Millsecond -> Millisecond
Use WelsGetTimeOfDay and WelsStrftime instead of LOCALTIME/FTIME/strftime
Merge pull request #238 from mstorsjo/merge-snprintf-strftime-wrappers

Use WelsSnprintf/WelsVsnprintf/WelsGetTimeOfDay/WelsStrftime instead of inconsistent macros
Remove some unnecessary STRNCPY/WelsStrncpy calls and intermediate buffers
Merge pull request #223 from mstorsjo/typedef-cleanup

Clean up typedefs within the libraries
Merge pull request #239 from mstorsjo/remove-unnecessary-calls

Remove some unnecessary STRNCPY/WelsStrncpy calls and intermediate buffers
Remove an unused function for byte order swapping
Unify the fallback codepath for getting prefix bits into a macro

This avoids having to know the details about when the optimized
codepath is available at the place where it's used.
Simplify debugging code - always write debug trace files to the cur directory

This reduces the amount of platform ifdefs.
Remove the now meaningless field sTracePath
Consistently use the compat wrappers for file IO

As long as WelsFileHandle* is equal to FILE* this doesn't matter,
but for consistency use the WelsF* functions for all handles
opened by WelsFopen, and use WelsFileHandle* as type for it
instead of FILE*.