Minify LibraryServlet output

As per Phil's suggestion, now LibraryServlet's output won't have any new lines (\n) or indentation unless it has the url parameter debug=true