Added replace closing php tag

Issue: [Inline Dashboard Widgets crash if closing ?> tag exists](https://github.com/modxcms/revolution/issues/781)

Replace opening and closing php tag from widget content