Added unique indices to ensure that aegis name is only used once per table. Also added all scripts from sql-files to the travis CI script so that our build check will fail if we have a sql syntax error in there or some duplicate values.
21564acf13