Added topic type, fixed formatDate for null objects.
Merge pull request #1 from jamesboehmer/master

Added topic type, fixed formatDate for null objects.