Totally revised the IniConfig class and all the classes inheriting from it

Removed useless interfaces, moved some variable code around (not done
yet), removed all the regex usage in the class, fixed countless bugs,
added comments.