Readded custom singal handler to abort mpi process
Added breaking condition to listening loop for all non master processes
Added test and profiling makefile rules

Signed-off-by: tankwalker <cingodvd@gmail.com>