Add "select all" option to photo (or other) upload screen

As discussed and requested in #634
Same here. This check when is a directory seems not to be necessary.