Add delete for topic on api

- add cascade delete for topic to posts
- add delete method to TopicsAPI
- add create_topic to test factory
Add get method for topic