Media library: Allow ordering by file size too
Fix application content reverse cache
Merge remote branch 'upstream/master'
Also improve the collapse all/expand all function to avoid superfluous redraws.
Add array.map function for IE.
Don't call eval() on a cookie.
Failing test for registering content type to different models in same
app.
Introduce class_name argument to create_content_type to fix class name clashes (Fixes #73 and #150)
Merge remote branch 'upstream/master'
Factor out the store and retrieve collapsed node info to their own functions. Also keep the collapsed state cookie valid for longer than the current session.

This now works fine under Safari, FF and IE and does not eval() cookies, yeah!
Avoid initial flashing of the tree by hiding it unless we're done computing the initial state.
Minor improvement to recolorRows().
Content Types can influence response headers. This is most useful for Application-style CTs.
Give cts more control over Last-Modified header.
Correct Last-Modified calculation and comment. Add Expires handling.
Improve the changedate.last_modified_response_processor.

If some page component set a Last-Modified date, set the page's LM to either that or the page's modification date, whatever is later.
Remove function that never was used and never worked.
Correct handling of last-modified times.

The last-modified header was completely out of whack wrt time zones, hopefully that's now fixed.
Also simplify the date comparison in the response processor a bit.
Remove unnecessary code.
remove duplicate import
remove unused import