Update view.php to make possible send HTTP headers

Added function `addheader($header)` to add headers in `view::headers` array and makes possible send header before template render via `rendertemplate()` or `render()` functions. Sorry for bad English.
Merge pull request #104 from halfhope/patch-1

Update view.php to make possible send HTTP headers