Refs #4, refs #20 - Resources render generators. Introduced writers: convert generated content into response or other actions. Added file and zip writer. Set zip writer as default for directories.
Refs #4 - Added support of 'application/gzip' header for POST requests to directory resource: returns tar.gz archive.
Refs #4 - Used 'try..finally: close' instead of 'with open' in demo's README for Python 2.6 compatibility.
Revert "Refs #4 - Used 'try..finally: close' instead of 'with open' in demo's README for Python 2.6 compatibility."
"with" statement was introduced in Python 2.5

This reverts commit 876b1b81e08a5b7b7c7de064f7af518f35107870.
Refs #4 - Added some docstrings in diecutter.writers.
Refs #4 - Simplified resources' is_file and is_dir attributes.
Refs #4 - Fixed compatibility with Python 2.6.
Merge pull request #47 from novagile/4-tar-gz

Closes #4 - Return tar.gz archive for directories if header "accept" is "application/gzip"