Module to leverage entityreference_prepopulate on custom Drupal forms