Convert setup.py to use setuptools

Due to r1667, setup.py was left broken installing 'gyp' as a script, which happened to be the *nix invocation script wrapper.

By converting setup.py to use setuptools, when the gyp script is installed, the appropriate file name will be generated to match the local conventions on both *nix and Windows platforms.

This change required adding a proxy function in gyp/__init__.py, called 'script_main', which takes 0 arguments as required by setuptools that directly ends up calling 'main' passing along sys.argv[1:].  Other areas in gyp/__init__.py and gyp_main.py were modified to use this new function as well.

The MANIFEST file was deleted since setuptools automatically includes the correct files in source distributions.

Contributed by ericvw@gmail.com

BUG=None
R=scottmg@chromium.org

Review URL: https://codereview.chromium.org/22816026

git-svn-id: http://gyp.googlecode.com/svn/trunk@1713 78cadc50-ecff-11dd-a971-7dbc132099af
ninja/mac: Support rules running on mac_bundle_resources.

Also add a test for various bundle resource scenarious.

BUG=chromium:280718
R=mark@chromium.org

Review URL: https://codereview.chromium.org/23681007

git-svn-id: http://gyp.googlecode.com/svn/trunk@1714 78cadc50-ecff-11dd-a971-7dbc132099af
Try to set +x bot on new change.sh file, try 2.

Apparently `chmod +x` _after_ running `svn add`ing a file doesn't do the trick.
Maybe `svn propset svn:executable ON` helps.

TBR=mark@chromium.org

Review URL: https://codereview.chromium.org/23875011

git-svn-id: http://gyp.googlecode.com/svn/trunk@1715 78cadc50-ecff-11dd-a971-7dbc132099af
ninja&make/mac: Give loadable_modules type MH_BUNDLE.

BUG=chromium:280718
R=mark@chromium.org, mmoss@chromium.org

Review URL: https://codereview.chromium.org/23789004

git-svn-id: http://gyp.googlecode.com/svn/trunk@1716 78cadc50-ecff-11dd-a971-7dbc132099af