warning goes to stderr now.
added -p/--stdout argument to LatexBeautifier and fixed getDocument in LatexBeautifier