added APMSTest.cfg in hcv folder and fixed dependency on 'stats' library in opt parse function after R update to 3.x