* Fixed related_name collision for several foreign keys on the same foreign table. related_name will have a number suffix for peewee to differentiate them from one another.
* A fix for the "%s_id" issue is being worked on and needs testing. It involves setting the self.db_column property in ForeignKeyField instances.
* Global variables are being removed. This means that in normal circumstances, each function can be used separately, given the right parameters.