fixed issues of backward compatibility with Python 2.6
- added local Counter class
- added local OrderedDict class
- add str() to Float to Decimal conversion