Template changes

* Minified html output
* Fixed empty page on any archive type page
* Added new get_template_type function
* removed some unneeded template functions
* Updated zero-spam