added hydration mode parameter to Savvy\Base\Database#getRepository