Committing some changes to update the engine for Drupal 4.7 (#58803) * Updated XTemplate to the lastest version. Made one modification to keep the old assign() parameter format. * Replaced a bunch of double quotes with single quotes. * format_name() -> theme('username'). * Added in a call to base_path() to account for the lack of a base element. * Primary links work again. * Added a hook_regions() implementation. * Copied phptemplate's method of constructing html header titles. * Added a 'search' variable so that templates can use the pre-rendered form.