Added support for GetCategories so themes can use categories for menus

Also tested using LiveWriter and all the category-related functionality, posting, everything works. This just adds another method for users who are creating custom themes that will need to write out the category list in the theme.