create Web{App|Request} for web application base class.
this class translates between Http and Response classes.
modify for demo application.
change names and argument to match with old style.
fix some problems.
update phpdoc comment.
remove experimental onHead method.
return $this from reload and loadAppRoot methods.