add CMake helper to find MySQL dev libs
separate tick class code generator into generic module