Added persistence profiles (development, testing and production) to use either MySQL or HSQLDB.