fix of bug with default theme constant

constant('DEFAULT_THEME') is removed from templates. It's required as this value is different in various customer's installations. See discussion with @tcitworld in relation to pull request #586.