Changed CMakeList to support both OS X and Linux tests
Changed CMakeList to support both OS X and Linux tests in libenkf tests
Merge pull request #360 from iLoop2/OS_X_build_settings

Changed CMakeList to support both OS X and Linux tests
Changed iactive allocation.
Remved if (iactive) {} switch; the iactive pointer can NOT be NULL.
state_map_fread() returns bool instead of void.
StateMap will raise IOError if the load fails.
Class StateMap can optionally take filename __init__() argument.
Pure white-space change.