Updates for rewrite handling

Adds a new class of plugin--FEATURE_PLUGIN--which is loaded by the
front-end just after the Zenphoto basic environment is setup (i.e. after
the CLASS_PLUGINS and before the THEME_PLUGINS.) This allows plugins to
dynamically set special rewrite tokens. See the favorites handler plugin
for an example.