some tidying and comments
adding more tests of TagEncloses and ElementEncloses methods
making proxy tag format configurable and exposing proxy tags and formats as public members
adding some constraints to configurable proxy tag formats