correctly handle empty POST parameters

https://github.com/facebook/tornado/pull/585 only fixed empty GET parameters. This pull adds empty POST parameter support.