Refactor some code, code fix, remove ending /

- Fix fatal error in tsitaatcom_content_index.tpl.php

- Remove / from end of content index links

- Move tag index code to tsitaatcom_tag.inc