New configuration framework

New configuration framework, which simplifies code a lot. Should be fully compatible with the old one.
Use just ConfigLoaderBase, then pray and hope minecraft drops java 6. Then you can move to java 8 and default methods in interfaces (or should we consider retrolambda?)