Fix indexes reflection in PostgreSQL

Reflection of indexes must preserve the order of columns.

Fixes issue 2767.
Merge pull request #13 from malor/fix_indexes_reflection

Fix indexes reflection in PostgreSQL