Added support for property list building in XML->PHP transformation
re #692

Also added support for `a` and `em` tags.