fixes #116
fixes #117
added additional dynamic_cast checks
added checks to dynamic_casts in class OMNeTGate
added checks on dynamic_casts in method write() in class RoutingTableDataPersistor
minor changes in class AbstractARAClient