Update libraries/Template.php

Setting the "Cache-control" header twice overwrites the first because CI's default "$replace" parameter in CI_Output::set_header is TRUE.
The side effect of this is pages are not revalidated when navigating browser history.