Ticket #1487 improve jControllerDaoCrud::index()

inject the dao and the profile in the template