ranap_parse_lai(): Fix wrong BCD decoding for MNC. Add test.

Fix the ranap_parse_lai() part that decodes the MNC: place the *10 at the
proper MNC digit.

Add a comprehensive test for ranap_parse_lai() in test-helpers.c. Because
ranap_parse_lai() logs things, add test_common.c to test-helpers compilation
and an expected stderr output to test-helpers' testsuite.at def.
diff --git a/src/tests/testsuite.at b/src/tests/testsuite.at
index c1daef2..9378f18 100644
--- a/src/tests/testsuite.at
+++ b/src/tests/testsuite.at
@@ -5,7 +5,8 @@
 AT_SETUP([helpers])
 AT_KEYWORDS([helpers])
 cat $abs_srcdir/test-helpers.ok > expout
-AT_CHECK([$abs_top_builddir/src/tests/test-helpers], [0], [expout])
+cat $abs_srcdir/test-helpers.err > experr
+AT_CHECK([$abs_top_builddir/src/tests/test-helpers], [0], [expout], [experr])
 AT_CLEANUP
 
 AT_SETUP([hnbap])