Add chunk parameter of overloaded finish method

Problem example:
RequestHandler calls write_error() which in turn calls self.finish() with a chunk parameter, leading to the uncaught exception "TypeError: finish() takes exactly 1 argument (2 given)"
Merge pull request #6 from frwickst/basehandler-fixes

Add chunk parameter of overloaded finish method