Implement TagManager.get_post_tags(). Add more tests.

Tests:
- test_get_tags_of_nonexistent_post: Given a nonexistent post id, get_post_tags
  should return an empty result.
- test_attach: The normal case of attaching tags to a post: after attaching 2
  tags to an existing post, they should be returned when calling get_post_tags.