Fixed generating database on self n-n joins.
Fixed generating database when table only had one field.
Generated databases now supporting arrays of primitive types.
Bumped version.
Merge pull request #32 from luismfonseca/database_fixes

Database fixes