Add toString method to HTMLDoc
Add FormContainer as potential return value type for append() method.
Simple change makes my IDE friendlier.