Validations, date format and timezones

Added base of validations, date format and timezone to settings page.
Added two folders: essentials and validations, can be used to seperate
the php code from the html.
TODO: Correct validations.