Add database parameter

When I have try use repository with _old_ yum in RHEL6 distribution I got an error while yum reading repository metadata.

So I have add a new parameter _database_ to your define to control _database/no-database_ option of _createrepo_ program.