- Change scriptlet no to use headers_sent() but instead track itself
  This function does not return TRUE if we already sent all of our
  headers from inside flush() but only after the first byte of output
  has been written. This would result in the headers being sent twice.
- QA: Don't invoke getContent() twice inside sendContent()
- Add tests for flush() and isCommitted()