Fixed an initialization error in ConfigParameter (in the constructor for 3d long vectors).
Added more checks and error messages to ConfigParameter.
Organised test code into multiple files.
Added a test for saving and loading configurations (and creating parameters).