enhance get_easyblock_class so it can be reused for extensions, by making fallback to default optional