Added clear compile pre update script.
XDebug integration added
cleanup templates
Merge branch 'framework'