converted check_static_files to check for valid file extensions for HTML resources

All regex are now utf-8.
Exceptions are thrown with regards to set_robots
Still need tests for the check_file_extensions