Added files config.json and config.sample.json. Added config.json to the .gitignore file as I don't want configuration details such as database credentials to be readily available. Instead once people have checked out they can adapt the config.sample.json and rename it.
Added the method convertFromJsonToAssociativeArray and associated tests.