PHP templating based off of dustjs (incomplete)