improve performance of dispatcher

Link: https://github.com/GeneAssembly/biosal/issues/508
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
add register_handler_with_condition

Link: https://github.com/GeneAssembly/biosal/issues/511
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
register_route become add_route

Link: https://github.com/GeneAssembly/biosal/issues/512
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
add route class

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>