normal loopback add speed pps&bps statistic

Change-Id: Ib625b889271520dc4b416017d3f497ddc8995e61
change dg_int_loop to dg_port_cfg
change dg_nml_loop to dg_loop
add dg_port_cfg implementation
add pair port options
fix receive thread pending issue when received wrong packet.

Change-Id: Ia313fc3fa543b49d43b126c7eab7f1a184e3566e
Reviewed-on: http://10.208.24.69:8080/206
Reviewed-by: Xudong Huang <xudongh@juniper.net>
add reverse transmit
optimize port check
add connection auto detect
add diagd pid check
Merge branch 'master' into ng-srx-es3
add i2c support for es3
fix voltage for es3
implement temperature for es3

Change-Id: I43a07efa02b08908d5a60522246134884cc15dd1