move helper functions from Omeka core to Scribe theme

There were some custom functions in Omeka's application/helpers directory that should be moved to the theme so users don't have to modify core Omeka files.