Add support for PlantUML diagrams and images to IDEA plugin, introduce a factory method for customising the Serializer, fix formatting problems caused by leading spaces and asterisks.