libosmocoding: migrate transcoding routines from OsmoBTS

There are some projects, such as GR-GSM and OsmocomBB, which would
benefit from using one shared implementation of GSM 05.03 code. So,
this commit introduces a new sub-library called libosmocoding, which
(for now) provides GSM, GPRS and EDGE transcoding routines, migrated
from OsmoBTS.

The original GSM 05.03 code from OsmoBTS was relicensed under
GPLv2-or-later with permission of copyright holders (Andreas Eversberg,
Alexander Chemeris and Tom Tsou).

The following data types are currently supported:

 - xCCH
 - PDTCH (CS 1-4 and MCS 1-9)
 - TCH/FR
 - TCH/HR
 - TCH/AFS
 - RCH/AHS
 - RACH
 - SCH

Change-Id: I0c3256b87686d878e4e716d12393cad5924fdfa1
diff --git a/.gitignore b/.gitignore
index 84e11b8..ecbcedd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,6 +36,7 @@
 Doxyfile.gsm
 Doxyfile.vty
 Doxyfile.codec
+Doxyfile.coding
 
 debian/autoreconf.after
 debian/autoreconf.before
@@ -73,6 +74,7 @@
 tests/a5/a5_test
 tests/comp128/comp128_test
 tests/auth/milenage_test
+tests/coding/coding_test
 tests/conv/conv_test
 tests/lapd/lapd_test
 tests/gsm0808/gsm0808_test
@@ -105,6 +107,7 @@
 utils/osmo-sim-test
 
 doc/codec
+doc/coding
 doc/core
 doc/vty/latex
 doc/vty/html