Use native APR lib; remove analyses context

tranSMART now uses sendfile to send the analyses results, for this we
have to use APR or nio.