p-value as fitness, bugfix, replacement_size in cofig

- utility function for p-values added to commonfnc
- replacement size moved to config (+consistency check)
- bug with no mutation in last layer fixed
- categories evaluator uses 1-(p-value) as fitness