Fix plugin databse tables

This should fix any plugin dbtable name issue.
Plugins meta is set right after all the models have been are discovered
On Django 1.6- we must patch a `get_models` as there is no suitable hook/signal
On Django 1.7 we can use `AppConfig.ready` that is called in the final phases of the project setup and after the model discovery