added LatexMacro object
implemented macro parsing and beautifying
removed command_type value from LatexCommand