Loads the WordPress environment and template.