Ezp 21165 map location does not accept integer latitude/longitude in rest API

Until now, adding a map location with the REST API having an integer latitude and/or an integer longitude return error 500.
[x] map location accept integer and float for latitude/longitude in rest API
[X] Added Tests

https://jira.ez.no/browse/EZP-21165