Changing all tabs to spaces because python 3 does not allow mixing.
Fixing syntax to work in python 2 and 3.
Make keepassdb.py byte-string safe.
All unittests now pass in python2.7 and python3.3.