Non-multiple of 16 width/height support for enc testapp

Also included test sequence.
../h264enc welsenc_arbitrary_res.cfg
Linux shell scripts refactored
Use MSVC inline assembly only on (32-bit) X86

Currently this used the _MSC_VER && !WIN64 to enable the inline
assembly, which still tried to use this code on windows on arm.
Using _MSC_VER && _M_IX86 is enough since _M_IX86 is defined only
when targeting 32 bit x86, not for x64.
ReviewBoard .rc file for rbt.
Merge pull request #105 from mstorsjo/msvc-disable-inline-asm-on-arm

Use MSVC inline assembly only on (32-bit) X86
Merge pull request #77 from varunbpatil/enc_testapp_arbitrary_res

Non-multiple of 16 width/height support for enc testapp
Merge pull request #83 from varunbpatil/autobuildlinux_cleanup

Linux shell scripts refactored
Use InitializeCriticalSectionEx for Windows Store or Windows Phone apps

The old InitializeCriticalSection function isn't available in
these API partitions, and the new InitializeCriticalSectionEx
function is only available since Vista, so we want to keep using
the old function for normal desktop code.
Enable use of D3D9 only when targeting desktop apps

Don't try to build this when building for phone/windows store (aka
metro/winrt) apps - this API isn't available there.
Use the right data type for process affinity mask

This allows using the same code on 64 bit windows as well.

Tested on MSVC 2008-2013.
Don't call process affinity functions in windows store or windows phone apps

These functions are only available in the desktop api subset.
Remove VC6 project files

These files are unmaintained and outdated, not even functional
in the initial commit of the project. Additionally, no similar
files are present for the decoder.
Use make patterns to avoid needing autogenerated rules for each source file
Add proper dependencies for the command line binaries

This makes sure that all the dependency libs are built before trying
to link them together, fixing parallel make (which occasionally
failed due to trying to link the encoder or decoder command line
binaries before the libs had been built) and also fixes building an
individual component by e.g. "make h264enc".
Merge pull request #106 from mstorsjo/windows-api-subset

Allow building for the WinRT/Windows Phone API subsets
Merge pull request #115 from mstorsjo/remove-vc6-project-files

Remove VC6 project files
Merge pull request #116 from mstorsjo/make-deps

Add proper dependencies for the command line binaries
Merge pull request #117 from mstorsjo/make-patterns

Use make patterns to avoid needing autogenerated rules for each source file
Merge pull request #111 from ethanhugg/reviewboard

ReviewBoard .rc file for rbt.
file a new commit

Squashed commit of the following:

commit 26be4c66686d2d75ba1eb381ae562d30474429b2
Merge: 91bde82 8df0566
Author: Licai Guo <guolicai@gmail.com>
Date:   Wed Jan 8 16:56:49 2014 -0800

    Merge remote-tracking branch 'upstream/master' into move_to_common

    Conflicts:
    	codec/common/targets.mk
    	codec/console/dec/targets.mk
    	codec/decoder/targets.mk
    	codec/encoder/targets.mk
    	codec/processing/targets.mk

commit 91bde8209dad40eaa0b26cc75467e4ce52b4c8ae
Merge: c827054 cc2ffee
Author: Licai Guo <guolicai@gmail.com>
Date:   Tue Jan 7 20:16:11 2014 -0800

    Merge remote-tracking branch 'upstream/master' into move_to_common

commit c8270543fab8e40cb4aebf62d7646068afe19484
Author: Licai Guo <guolicai@gmail.com>
Date:   Mon Jan 6 19:12:39 2014 -0800

    enable WelsScan4x4DcAc_ssse3

commit c8d2823d54e54cab146098302441ef44a4638382
Author: Licai Guo <guolicai@gmail.com>
Date:   Mon Jan 6 18:46:06 2014 -0800

    remove trailing white spaces

commit 39866a9cf54db6120aabd6a01afd4aedbead8af0
Author: Licai Guo <guolicai@gmail.com>
Date:   Mon Jan 6 18:06:10 2014 -0800

    move common code(deblocking and cpu) to common, rename decoder's
    Intra-prediction functions prefix.