let composer choose which dist which dev
fix project corretly
change misleading exception in baseentitytest
give some exitcode in terminate so that travis does not succeed