Sync with wind and other stuff...
Fix indentation
Add a new permission "downloadalbum". it is now possible to choose per albums and per group if user can download an album.
Show "Download album" link only if there is something to download.

Not fully reliable:
 - on an album that only contains sub-albums, if a user is allowed
   to "downloadalbum" the album but disallowed to "downloadalbum"
   all the sub-albums, the link appears and throw an exception.
 - on a tag, same situation. If a user is not allowed to "downloadalbum"
   any of the items tagged, it will throw an exception.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	3.0/modules/downloadalbum/module.info
	3.0/themes/sobriety/theme.info
Sync with wind
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Sync with wind to 68437993b90bb9cc02ca1134e73c754e1f0d8273
Sync with wind to 68437993b90bb9cc02ca1134e73c754e1f0d8273
Merge remote-tracking branch 'upstream/master'
Do not rely on Kohana::close_buffers() to close the buffers, because it does not work on PHP 5.4+. Let's do it ourself.
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Update captionator_dialog.html.php

title is required.
Merge pull request #153 from floridave/master

Captionator module title is needed