More tree view formats

Add format_treewin, format_treewin_artist, format_trackwin_album options.
Add maxdate and daterange format options (for albums).

I've changed return value of `format_print` to width of string: previous value was useless.