update for Omeka 2.0

merged pull request from Daniel-KM