Improved build.py

Improved build.py by converting tabs to spaces and adding logic to
create the output directory if needed.
Removed inappropriate files from SCM

Removed the build directory and a ZIP archive from the repo. Also added
a .gitignore file to prevent similar files from being accidentally
added.