Add support for server.xml files with include elements

Changes to allow a server.xml file that contains <include> elements to be correctly handled by the buildpack
Could have a more meaningful name e.g. substitute_variables