Download update

Updated getdownload.php and download.php to enable using URL besides
local file.
Also updated batchAddEncode.cpp to enable filling the encode URLs.