Fix lightprobe creation from python data API

Hi there,
Recently I had to create lightprobes from python data api without operators but it didn’t seems possible.
Until now, it is only possible to correctly add a lightprobe in python via an operator:

It can’t be done correctly from api because the lightprobe type isn’t exposed in the constructor.
I made a small patch which fix the lack of consistency of lightprobe creation without operator.
It allow creation of different lightprobe type directly via, type) (such as for curves).
Is it the right way to do it ?
Thanks in advance !