Colorbox compatibility

This pull substitutes #54 and #55 joining all changes in a single request.
Solve Colorbox compatibility ss commented by Nigel here: https://jira.duraspace.org/browse/ISLANDORA-869