Free unused connection and link_signal memory.
Fixed bug freeing routers and receivers.
Fixed illegal memory access bug.
Rename mapper_db_remove_device() to mapper_db_remove_device_by_name() to match API.
Reduced memory leaks by approx 1KB according to Valgrind.
More memory leak fixes - Valgrind now reports 0 bytes lost when running test.c