Convert to schema, fix several issues.

Install failing as table is also defined in system module, schema mechanism is more tolerant.
Move language out of sql file and into modinfo language file.
Move install inserts out of sql file and into install script.