Revert "Remove database initialization for machine_category."

This reverts commit b336fb067de02454328c021e2fce8a254ab8bec5.

This code is required for tests. The sql file isn't used????
Can configure location of LDAP schema file.
Karaage tests should use karaage schemas.