Implement function get_reference_features_in_geometry()

Implement the function get_reference_features_in_geometry() necessary for the entity initializer. This function gets the IDs if all geometries in a table which lie within a boundary by using intersections between the boundary and the smaller geometries, or the centroids of said geometries.

\rfc @all

Edited by Pablo de la Mora Lobaton