NiceURL compatible and fixes, close #1

* Move logic from Modules to Hooks
* Add table for storing id of already posted topics
* Translate config.php to russian language
* Fix html entities
API usage (draft), don't use