New way to handle exceptions

* Capture the exceptions of baseform by means of a special loggerhandler
* Make InvalidNetworkException checked
Check that the network has at least one tank or one reservoir
Allow set the error id in the InvalidNetworkError constructor
Introduces checks to validate if the network has all the necessary alphanumeric data to simulate it
Validates that there are not floating pipes in the network
Validates that there are not valves joined directly to tanks or reservoirs
Fix test related to pumps
Use enum instead int for code errors
Remove auxiliary exception classes

InvalidNetworkErrorToFix was only an auxiliary class during the refactoring
to handle the exception, and is removed in this commit