Detect if getEntriesByType function exist to enable fallback
Merge pull request #7 from Jarzon/master

Detect if getEntriesByType function exist to enable fallback