Follow-on on clean URL update - make "gallery3/index.php" redirect, too.
Send guests to login from user_profile if not seen by everybody (Thanks, Tal!)
Before, if a valid user was viewing their profile and logged out, it went boom.
Remove some no-longer-needed comments in bootstrap.
Rename Controller_Rest::$reply to Controller_Rest::$rest_response.
Add Rest::registry() to get list of resources.
Refactor Controller_Rest::before() a bit.
First swing and setting up new Controller_Rest and Rest helper functions.
This will likely need further debugging, revision, etc.
Change REST API version from 3.0 to 3.1.
Move Rest::$default_params to Controller_Rest::$default_params so it's easier
for each resource to override them as needed.
Move the check that gallery is installed from bootstrap.php to index.php.  To solve the problem when trying to initialize Kohana, none of the gallery3/var/* directories have been created.
Merge branch 'kohana_3' of github.com:talmdal/gallery3 into t_kohana_3
remove check for var/logs, that keeps reappearing