fixed categories and posts HABTM assocaition and cleaned up migrations