Fixes false negative when checking if a tank's min/max levels fall within its volume curve (see issue #767 ).
Fixes bug in checking that tank min/max levels are within volume curve.
EN_openX allows an EPANET input file to be opened even if it has errors. This required re-arranging code, mainly in input3.c, so that default values are assigned to an object before its input line is parsed.