Applied patch for issue 1639
Switched table definition order at test_dal.py
Merge branch 'dictionary-db-defs'

Tries to fix issue 1639
Cast keys recursively including iterables (issue 1639 syntax error)
Merge pull request #197 from spametki/master

DAL dict parameters (issue 1639). Fixed tests (again)