PEP8 compliance
Add main() guard. Ignore download directory
Transition to new-style string formating
A few pythonic tweaks: enumerate and os.path.join
Merge pull request #1 from amney/dev

Bring into PEP8 compliance and a few Pythonic tweaks