Allow REST items' "urls" param to be json or csv.
Remove unneeded line in Rest_Items.
Make Rest_Items::get_members() name-matching be case-insensitive.
Clean up some REST-related comments.
Remove extraneous (and now buggy) debugging line from 2010.
Fix bug in Controller_Rss.
Make item "rand_key" generation more reliable (occasionally failed before).
Make tag ordering in Rest_Tags and Rest_ItemTags more consistent.
Add Gallery::hook() and Gallery::module_hook(), and make all hooks use them.
- manually tested tasks, rss, theme, events, etc. - all still work.
- all unit tests still pass (and are a little faster!)
Merge pull request #430 from shadlaws/fixes_20130625

Fixes 20130625