Use context manager for gzipfile
Use built-in werkzeug method for response length calculation
Merge pull request #7 from nicorevin/master

Use with statement for GzipFile and werkzeug to calculate response length