Changed baseform dependecy from the project to a jar
Set the calculated fields in the structure wrappers when parsing the layers
Test refactoring. Extract some code to methods

BTW, two minor changes are included in this commits:

+ Some methods used in the test are changed from public to private
+ A typo fix on the name of the temp binary file created by baseform
Extends ToggleEditing to avoid update layer values with Strings

ToggleEditing use String with a format defined by ValueFormatNT as
an temp values before updating the layer with Value. This is causing
some problems rounding incorrectly double numbers.

So a new class is created, that avoids the 'String step' and handles
exceptions in a more readable way
The hydraulic simulations is done by means of baseform executable

Some problems are founded trying to use baseform as a library, the net
is always incorrect. So baseform is used now as an executable, and the
plain text files generated are parsed to get the results
Layer names are obtained from prefereces
The name of the cad tool is autogenerated based on the layername
CAD extensions are enabled when their corresponding layer is loaded
Snappers are enabled for all "point" layers by default
The layer parser gets the names of the layers to parse directly from
the prefereces, so there is no need to parse it one by one