Strategies and runtime detection/choice of best algorithm
Modify strategyselector to work with VS2010.

- VS doesn't have snprintf.

- VS doesn't support GCC attributes.

- Add defines for __SSE__ and __SSE2__ on VS.
Merge branch 'strategy_selector'