Added default url_prefix and template_dir.

When url_prefix and template_dir are not passed into the patterns()
generator function, grab the default values from the class attributes.