Remove backup files, .gitignore and .gitattributes, Lint, PEP 8 checks

As a quick break from some heavy month-long web design and to gear up for some Python coding, I linted and PEP 8 checked the scripts, in addition to removing backup files and adding `.gitignore` and `.gitattributes` files.

All linting and PEP 8 checks done by hand, no automatic fixers involved. PEP 8 accuracy provided by [http://pep8online.com](http://pep8online.com).

### Changes made ###

* Tabs to standard 4 space indentation
* Unchained imports
* Non-standard (Blender-only) import last
* Line length
* Spaces around operators
* End of file line
* Proper comparison for True (`if params['animation']:` is correct, `if params['animation'] == True:` is the long way around).

The `sys` and `os` modules are imported but apparently unused. However, I left them alone.