Don't allow empty width/height/filename in request
Readded autoscaling by setting width or height to 0.
Make sure width/height are positive integers or 0, otherwise use original value.
Removed 0-value from test for bad dimensions, extended testcases.
Added tests for autoscaling.
Merge pull request #3 from rarila/enable-autoresize

Enable autoresize again