Bugfix: Upload single photo

* album_photo_file index renamed to photo_pic_file
* unused image option replaced with type
* in form_fileinput.php javascript needs the variable type as an array or a null value. PHP needs a simple string
* type checking in PHP supports multiple type (if we need it later)