Indices on modules created by module builder

I added the possibility to create indices in vardefs files for any
module built with module builder, so when package is exported, those
indices are exported too. This is very important to optimize the
database and when you create any numeric field with autoincrement value.