Simplify Singleton and Config

Config original did not work in Python3.x, but this works.
But do not work in Python3.x If do not rewritten others too.
Ensure compatibility
add tests
Merge pull request #66 from narusemotoki/develop

Simplify Singleton and Config