Parse JSON and create list of switch_operations

While the JSON configuration file is parsed the shared object which
corresponds to the switch is opened and it's switch operations info is
obtained. dlopen and dlsym is used to achieve this functionality.

Signed-off-by: Mihaela Martinas <martinas.mihaela21@gmail.com>