Split tbf_fsm as tbf_{ul,dl}_fsm

The 2 types of TBF share some parts of the implementation, but actually
half of the code is specific to one direction or another.
Since FSM are becoming (and will become even) more complex, split the
FSM implementation into 2 separate FSMs, one for each direction.
The FSM interface is kept compatible (events and states), hence code can
still operate on the tbfs on events and states which are shared.

Test output changes are mainly due to:
* FSM instance now created in subclass constructor, so order of log
  lines during constructor of parent class and subclass slightly
  changes.
* osmo_fsm doesn't allow having 2 FSM types with same name registered,
  hence the "TBF" name has to be changed to "DL_TBF" and "UL_TBF" for
  each FSM class.
* FSM classes now use DTBFUL and DTBFDL instead of DTBF for logging. Some
  tests don't have those categories enabled, hence some log lines
  dissappear (it's actually fine we don't care about those in the test
  cases).

Change-Id: I879af3f4b3e330687d498cd59f5f4933d6ca56f0
diff --git a/tests/types/TypesTest.err b/tests/types/TypesTest.err
index 16205e1..57b370b 100644
--- a/tests/types/TypesTest.err
+++ b/tests/types/TypesTest.err
@@ -1,29 +1,28 @@
 MS(TA-220:MSCLS-1-0) Allocating DL TBF
-TBF{NEW}: Allocated
 UL_ASS_TBF{NONE}: Allocated
 DL_ASS_TBF{NONE}: Allocated
 TBF(DL:TFI-0-0-0:STATE-NEW:GPRS) Setting Control TS 2
 TBF(DL:TFI-0-0-0:STATE-NEW:GPRS) Allocated: trx = 0, ul_slots = 04, dl_slots = 04
 MS(TA-220:MSCLS-1-0) Allocating UL TBF
-TBF{NEW}: Allocated
 UL_ASS_TBF{NONE}: Allocated
 DL_ASS_TBF{NONE}: Allocated
+UL_TBF{NEW}: Allocated
 UL_ACK_TBF{NONE}: Allocated
 TBF(UL:TFI-0-0-0:STATE-NEW:GPRS) Setting Control TS 4
 TBF(UL:TFI-0-0-0:STATE-NEW:GPRS) Allocated: trx = 0, ul_slots = 10, dl_slots = 00
 MS(TA-220:MSCLS-1-1) Allocating UL TBF
-TBF{NEW}: Allocated
 UL_ASS_TBF{NONE}: Allocated
 DL_ASS_TBF{NONE}: Allocated
+UL_TBF{NEW}: Allocated
 UL_ACK_TBF{NONE}: Allocated
 TBF(UL:TFI-0-0-0:STATE-NEW:EGPRS) Setting Control TS 1
 TBF(UL:TFI-0-0-0:STATE-NEW:EGPRS) Allocated: trx = 0, ul_slots = 02, dl_slots = 00
 TBF(UL:TFI-0-0-0:STATE-NEW:EGPRS) setting EGPRS UL window size to 64, base(64) slots(1) ws_pdch(0)
 ############## test_egprs_ul_ack_nack
 MS(TA-220:MSCLS-1-1) Allocating UL TBF
-TBF{NEW}: Allocated
 UL_ASS_TBF{NONE}: Allocated
 DL_ASS_TBF{NONE}: Allocated
+UL_TBF{NEW}: Allocated
 UL_ACK_TBF{NONE}: Allocated
 TBF(UL:TFI-0-0-0:STATE-NEW:EGPRS) Setting Control TS 4
 TBF(UL:TFI-0-0-0:STATE-NEW:EGPRS) Allocated: trx = 0, ul_slots = 10, dl_slots = 00