Reformat Formo preambles to match Gallery's style (in sync with gallery3-vendor).
Clean up ORM calls: "->limit(1)->find_all()->current()" is just "->find()"
@see ORM::_load_result() and ORM::find().
Revise Gallery_View_Theme::thumb_proportion().
- replace "->count_all()" check with "->loaded()", which removes one DB query.
- if no dimension is specified, use children instead of unordered_children.
Use ORM::$_sorting to set default sorting, remove $item->unsorted_children.
ORM_MPTT pointer changes: fix bug with "descendants", make "parents" simpler.
Clean up Model_Item::valid_parent(), remove references to MPTT pointers.
@todo: try to eliminate the other ones, too... IMHO, we should leave the MPTT
pointer magic all in ORM_MPTT and use things like descendants/parents elsewhere.
Ensure that the Model_Item default sorting is reset after save(), too.
Remove direct array dereferencing in unit tests - only works for PHP 5.4+.
Still can't do ["foo => ["bar", "baz"]] or $foo->bar()["baz"] in 5.3... <sigh>.
Update Formo - fix a bug where $field->get("val") wasn't working.
Build a ORM-saving driver for Formo.  This makes add/edit forms a snap.
Big rewrite of album add form.
- squashed 2 routes (albums/form_add and albums/create) to one (albums/add).
- made it work for ajax as well as non-ajax
- used new ORM-saving Formo driver.
Fix bugs with item_url routing in bootstrap - we can now find non-root items.
Update Formo - make Formo::load() work for non-namespaced forms with groups.
Turn off Formo namespacing.  This makes input fields easier to reference in js.
Formatting fix - get rid of stray tab in recent commit.
Merge pull request #338 from shadlaws/fixes_20130502

Fixes 20130502