Jc 2032 code review refactoring

http://jira.jtalks.org/browse/JC-2032
Why do we need a separate table for topic types? Simple string in the TOPIC table would suffice.