Revert "XHTML Compliance"

This commit broke schedules edit, it should fix #3555.

This reverts commit e1002cd2724869eabdfe1f9258d4522d572722e4.
Remove TRIM_set and TRIM_unset support. This method isn't very elegant and isn't necessary in the long run. It's better handled in the installer stage and not after the fact.
Fix #3555, on chrome it is not initializing correct minutes when adding a new time, just drop unused php variables and set it on js