Refactored ecl_handler.py in preparation for WATT and PUNQ hacks.

Still works for non WATT/PUNQ models based on testing with dummy
parameter files.