Handle a wider range of issues on DB availability
Preparing release 0.3.1
pyflakes cleanup
Back to development: 0.3.2