Keep fields order
Fix fields order in the test
Optimization suggested by @nbeloglazov
Added ignore files for both git and mercurial
Merge pull request #5 from lazyval/master

Ignore files
Merge pull request #3 from x-or/patch-3a

Функция fields* портит порядок полей
Merge from dbushenko repository