importing latest templates.js client-side
closes #1975
migrated ACP themes page from html rendered via js to template engine
Merge remote-tracking branch 'origin/master' into 0.5.1