trim value and path in element controls. when there's a leading space, y...

...ou can't ingest. https://jira.duraspace.org/browse/ISLANDORA-711