Add preliminary libtool files for libaria2
Move initialization code in aria2::main to struct Context
Add initialization function and addUri API function for libaria2
Add getDownloadHandle API
Call onEndOfRun() on oneshot == true as well
Add gidToString and getActiveDownload API functions
Move aria2api.{cc,h} to libaria2_la_SOURCES
Add accessors for DownloadHandle

Added downloadGetBitfield, downloadGetNumPieces,
downloadGetConnections, downloadGetErrorCode,
downloadGetFollowedBy, downloadGetBelongsTo and
downloadGetDir functions.
Rename gidToString as gidToHex, add hexToGid and isNull
Expose struct DownloadHandle interface to public API directly
Add DownloadHandle::getFiles() API function
Rename DOWNLOAD_STATUS as DownloadStatus
Add removeDownload, pauseDownload and unpauseDownload API function
Update API doc
Add sessionConfigSetKeepRunning and shutdown API function

Setting sessionConfigSetKeepRunning to true makes aria2 core keep
running even if there is no download to perform, just like --enable-rpc
option.
Add addMetalink API function
Don't exit on error in option_processing

Still it exits when -v or -h is given. They are now guarded by
standalone variable and only do so when it is true.
Don't enter daemon mode if standalone is false
Fix empty unknown option name in OptionParser::parse
Suppress console log output for library use, enclose Platform in try-catch

Still need to suppress global::cerr and global::cout