Added function to help convert object and array properties after getting them from the database.
Merge branch 'master' of github.com:h5p/h5p-php-library