Call ninja with relative paths.

Calling the ninja script with absolute paths under cygwin would pass
posix-style paths, and would cause errors since ninja would force
calling itself under cmd.exe, which uses Windows-style paths.
Support running update script from cygwin.
Make apply-patches compatible with python 2.6.

Chromium ships binary of python 2.6 instead of 2.7.
Fix indent.