core: add ArrayGet() function with def value

prevent NOTICES in logs
disable mb_escapeshellarg, break torrent upload