resolved E_STRICT error
Implemeted hook_requirements() to sure the Elastica library is available when module is installed/updated/used.