Optimized install_mod.php

Added options: icons_in_a_row and allowed_extensions