Added new directories to the gitignore.

[branch: dev1.2.6.2]
Refactored the upload and update helpers and partials.

Cleaned up the code even further then last time. We have much
cleaner upload, update and download partials, helpers and views.

[Branch: dev1.2.6.2]