Defined function for adding section and options to the config (no implementation yet).
Added implementation for adding sections and options. And also added upgrade() function.
The tests was converted so they use the unittesting module.