Fix compatibility with msvc < 1400

Visual Studio .NET 2003, used by Python 2.5 32 bit, does not support the '__restrict' keyword.
fully fix build_dir copying
Try using setuptools in setup.py, allow bdist_egg where possible
Merge pull request #225 from cgohlke/patch-1

Fix compatibility with msvc < 1400
add fix for in-tree symlinks, with updated test
split some overly long code lines
Merge pull request #227 from Infinidat/master

Try using setuptools in setup.py
Merge pull request #226 from ohanar/build_dir

fix build_dir copying
more visibly mark for-from loop as deprecated in the docs

--HG--
extra : rebase_source : 305a362b2f79e4b7982a188ff5912a6621ea56a7
Fix several MS compiler warnings.
Minor cleanup in dtypestring parsing.
Add ptrdiff_t type to Cython.
ptrdif_t test
Merge pull request #231 from joshayers/ms_compiler_warnings

Fix several MS compiler warnings.